Package com.vaadin.browserless.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.HasComponentsOfType,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.browserless.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 Stream<Component>childrenprivate final Elementelementprivate final Pagepageprivate StringclassNameprivate final List<HasElement>activeRouterTargetsChainprivate final ComponentcurrentViewprivate final VaadinSessionsessionprivate final StringcsrfTokenprivate final Optional<Component>parentprivate final PushConfigurationpushConfigurationprivate final IntegeruiIdprivate BooleanisEnabledprivate final StringforwardToClientUrlprivate final Stylestyleprivate BooleanisVisibleprivate final ClassListclassNamesprivate final UIInternalsinternalsprivate final Optional<String>idprivate Localelocaleprivate final IntegercomponentCountprivate final ReconnectDialogConfigurationreconnectDialogConfigurationprivate final ComponentactiveDragSourceComponentprivate final LocationactiveViewLocationprivate final BooleanisAttachedprivate IntegerpollIntervalprivate StringtestIdprivate final BooleanisClosingprivate final LoadingIndicatorConfigurationloadingIndicatorConfigurationprivate final Optional<UI>uiprivate final BooleanisNavigationSupportedpublic final ElementwrapperElement
-
Constructor Summary
Constructors Constructor Description MockedUI()
-
Method Summary
Modifier and Type Method Description UnitsetChildComponentModal(Component childComponent, ModalityMode mode)UnitaddToModalComponent(Component component)Unitnavigate(String locationString, QueryParameters queryParameters)-
Methods inherited from class com.vaadin.flow.component.UI
access, accessLater, accessLater, accessSynchronously, addAfterNavigationListener, addBeforeEnterListener, addBeforeLeaveListener, addHeartbeatListener, addModal, addShortcutListener, addShortcutListener, beforeClientResponse, browserNavigate, close, doInit, getActiveDragSourceComponent, getActiveRouterTargetsChain, getActiveViewLocation, getChildren, getCsrfToken, getCurrentView, getElement, getForwardToClientUrl, getInternals, getLoadingIndicatorConfiguration, getLocale, getNavigationListeners, getPage, getPollInterval, getPushConfiguration, getReconnectDialogConfiguration, getSession, getUI, getUIId, hasModalComponent, isClosing, isNavigationSupported, leaveNavigation, localeSignal, navigate, navigate, navigate, navigate, navigate, navigate, navigate, navigate, navigateToClient, push, refreshCurrentRoute, routerStateSignal, setChildComponentModal, setDirection, setLocale, setPollInterval, triggerAfter -
Methods inherited from class com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName -
Methods inherited from class com.vaadin.flow.component.Component
bindVisible, findAncestor, getId, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, isAttached, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, setId, setTestId, setVisible -
Methods inherited from class com.vaadin.flow.component.HasEnabled
bindEnabled, isEnabled, setEnabled -
Methods inherited from class com.vaadin.flow.component.HasComponents
add, getComponentCount -
Methods inherited from class com.vaadin.flow.component.HasComponentsOfType
add, add, addComponentAsFirst, addComponentAtIndex, bindChildren, getComponentAt, indexOf, remove, remove, removeAll, replace -
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.PollNotifier
addPollListener -
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
-
-
Method Detail
-
setChildComponentModal
Unit setChildComponentModal(Component childComponent, ModalityMode mode)
-
addToModalComponent
Unit addToModalComponent(Component component)
-
-
-
-