com.vaadin.flow.component.webcomponent.
Class 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 class
Event 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 TypeMethodDescriptionvoid
doInit
(VaadinRequest request, int uiId, String appId) Internal initialization method, should not be overridden.
boolean
Returns 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.
void
Updates this UI to show the view corresponding to the given location.
void
navigate
(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, connectClient, doInit, getActiveDragSourceComponent, getActiveRouterTargetsChain, getActiveViewLocation, getChildren, getCsrfToken, getCurrent, getCurrentView, getElement, getForwardToClientUrl, getInternals, getLoadingIndicatorConfiguration, getLocale, getNavigationListeners, getPage, getPollInterval, getPushConfiguration, getReconnectDialogConfiguration, getRouter, getSession, getUI, getUIId, hasModalComponent, init, isClosing, leaveNavigation, leaveNavigation, navigate, navigate, navigate, navigate, navigate, navigateToClient, onAttach, onDetach, push, refreshCurrentRoute, setChildComponentModal, setCurrent, setDirection, setLocale, setPollInterval
Methods 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, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasComponents
add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll
Methods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabled
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
Methods inherited from interface com.vaadin.flow.component.PollNotifier
addPollListener
Methods 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:
UI
Internal initialization method, should not be overridden. This method is not declared as final because that would break compatibility with e.g. CDI.
Overrides:
Parameters:
request
- the initialization requestuiId
- the id of the new uiappId
- the application idSee Also:
-