Class WebComponentUI
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.UI
com.vaadin.flow.component.webcomponent.WebComponentUI
- All Implemented Interfaces:
AttachNotifier,DetachNotifier,HasComponents,HasElement,HasEnabled,HasStyle,PollNotifier,RouterLayout,Serializable
Custom UI for use with WebComponents served from the server.
For internal use only. May be renamed or removed in a future release.
- Since:
- 2.0
- Author:
- Vaadin Ltd.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEvent used for sending the activation event for an exported web component from the client to the server.Nested classes/interfaces inherited from class com.vaadin.flow.component.UI
UI.BrowserLeaveNavigationEvent, UI.BrowserNavigateEvent, UI.BrowserRefreshEvent, UI.ClientViewPlaceholder -
Field Summary
FieldsFields inherited from class com.vaadin.flow.component.UI
CLIENT_NAVIGATE_TO, wrapperElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoInit(VaadinRequest request, int uiId, String appId) Internal initialization method, should not be overridden.booleanReturns true if this UI instance supports navigation.<T,C extends Component & HasUrlParameter<T>>
Optional<C> Updates this UI to show the view corresponding to the given navigation target with the specified parameter.Updates this UI to show the view corresponding to the given navigation target.voidUpdates this UI to show the view corresponding to the given location.voidnavigate(String location, QueryParameters queryParameters) Updates this UI to show the view corresponding to the given location and query parameters.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, getActiveDragSourceComponent, getActiveRouterTargetsChain, getActiveViewLocation, getChildren, getCsrfToken, getCurrent, getCurrentView, getElement, getForwardToClientUrl, getInternals, getLoadingIndicatorConfiguration, getLocale, getNavigationListeners, getPage, getPollInterval, getPushConfiguration, getReconnectDialogConfiguration, getSession, getUI, getUIId, hasModalComponent, init, isClosing, leaveNavigation, navigate, navigate, navigate, navigate, navigate, navigateToClient, onAttach, onDetach, push, refreshCurrentRoute, setChildComponentModal, setChildComponentModal, setCurrent, setDirection, setLocale, setPollIntervalMethods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getId, getListeners, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAllMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods inherited from interface com.vaadin.flow.component.PollNotifier
addPollListenerMethods inherited from interface com.vaadin.flow.router.RouterLayout
removeRouterLayoutContent, showRouterLayoutContent
-
Field Details
-
NO_NAVIGATION
- See Also:
-
-
Constructor Details
-
WebComponentUI
public WebComponentUI()
-
-
Method Details
-
doInit
Description copied from class:UIInternal initialization method, should not be overridden. This method is not declared as final because that would break compatibility with e.g. CDI.appIdcan be obtained by callinggetService().getMainDivId(getSession(), getRequest()).
-