-
- All Implemented Interfaces:
-
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasComponents,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.PollNotifier,com.vaadin.flow.router.RouterLayout,java.io.Serializable
public class MockedUI extends UIA simple no-op UI used by default by com.vaadin.testbench.unit.MockVaadin.setup. The class is open, in order to be extensible in user's library
-
-
Field Summary
Fields Modifier and Type Field Description private final ElementwrapperElementprivate final Attributesattributes
-
Constructor Summary
Constructors Constructor Description MockedUI()
-
Method Summary
Modifier and Type Method Description UnitsetChildComponentModal(Component childComponent, Boolean modal)-
Methods inherited from class com.vaadin.testbench.unit.mocks.MockedUI
access, accessLater, accessLater, accessSynchronously, add, addAfterNavigationListener, addBeforeEnterListener, addBeforeLeaveListener, addHeartbeatListener, addModal, addShortcutListener, addShortcutListener, addToModalComponent, beforeClientResponse, close, connectClient, doInit, doInit, getActiveDragSourceComponent, getChildren, getCsrfToken, getCurrentView, getElement, getForwardToClientUrl, getInternals, getLoadingIndicatorConfiguration, getLocale, getLogger, getNavigationListeners, getPage, getPollInterval, getPushConfiguration, getReconnectDialogConfiguration, getRouter, getSession, getUI, getUIId, hasModalComponent, init, isClosing, isNavigationSupported, leaveNavigation, navigate, navigate, navigate, navigate, navigate, navigate, navigate, navigateToClient, onAttach, onDetach, push, setDirection, setLocale, setPollInterval -
Methods inherited from class com.vaadin.flow.component.Component
addAttachListener, addClassName, addClassNames, addDetachListener, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName -
Methods inherited from class com.vaadin.flow.component.UI
add, add, addComponentAsFirst, addComponentAtIndex, addListener, addPollListener, findAncestor, fireEvent, get, getEventBus, getId, getListeners, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, remove, remove, removeAll, removeFromParent, removeRouterLayoutContent, scrollIntoView, scrollIntoView, set, setId, setVisible, showRouterLayoutContent -
Methods inherited from class com.vaadin.flow.component.HasComponents
isEnabled, setEnabled -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setChildComponentModal
Unit setChildComponentModal(Component childComponent, Boolean modal)
-
-
-
-