Package com.vaadin.testbench.unit.mocks
Class MockedUI
-
- 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 IntegeruiIdprivate final Booleanclosingprivate final PushConfigurationpushConfigurationprivate Localelocaleprivate final UIInternalsinternalsprivate final Pagepageprivate final StringcsrfTokenpublic final ElementwrapperElementprivate final StringforwardToClientUrlprivate final Elementelement
-
Constructor Summary
Constructors Constructor Description MockedUI()
-
Method Summary
Modifier and Type Method Description UnitsetChildComponentModal(Component childComponent, Boolean modal)Unitnavigate(String locationString, QueryParameters queryParameters)-
Methods inherited from class com.vaadin.flow.component.UI
access, accessLater, accessLater, accessSynchronously, add, addAfterNavigationListener, addBeforeEnterListener, addBeforeLeaveListener, addHeartbeatListener, addModal, addShortcutListener, addShortcutListener, addToModalComponent, beforeClientResponse, browserNavigate, close, connectClient, doInit, doInit, getActiveDragSourceComponent, getActiveRouterTargetsChain, getActiveViewLocation, getChildren, getCsrfToken, getCurrentView, getElement, getForwardToClientUrl, getInternals, getLoadingIndicatorConfiguration, getLocale, getNavigationListeners, getPage, getPollInterval, getPushConfiguration, getReconnectDialogConfiguration, getRouter, getSession, getUI, getUIId, hasModalComponent, isClosing, isNavigationSupported, leaveNavigation, leaveNavigation, navigate, navigate, navigate, navigate, navigate, navigate, navigate, navigate, navigateToClient, push, refreshCurrentRoute, setDirection, setLocale, setPollInterval -
Methods inherited from class com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName -
Methods inherited from class com.vaadin.flow.component.AttachNotifier
addAttachListener -
Methods inherited from class com.vaadin.flow.component.DetachNotifier
addDetachListener -
Methods inherited from class com.vaadin.flow.component.Component
findAncestor, getId, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, isAttached, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, setId, setVisible -
Methods inherited from class com.vaadin.flow.component.PollNotifier
addPollListener -
Methods inherited from class com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled -
Methods inherited from class com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll -
Methods inherited from class com.vaadin.flow.router.RouterLayout
removeRouterLayoutContent, showRouterLayoutContent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-