Package io.jmix.tabbedmode
Class JmixUI
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.UI
io.jmix.tabbedmode.JmixUI
- 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,Serializable
@SpringComponent
@Scope("prototype")
public class JmixUI
extends com.vaadin.flow.component.UI
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.vaadin.flow.component.UI
com.vaadin.flow.component.UI.BrowserLeaveNavigationEvent, com.vaadin.flow.component.UI.BrowserNavigateEvent, com.vaadin.flow.component.UI.BrowserRefreshEvent, com.vaadin.flow.component.UI.ClientViewPlaceholder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.internal.UIInternalUpdaterprotected RedirectHandlerprotected View<?>protected final ViewsFields inherited from class com.vaadin.flow.component.UI
CLIENT_NAVIGATE_TO, wrapperElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidConnect a client with the server side UI.voidconnectClient(String flowRoutePath, String flowRouteQuery, String appShellTitle, elemental.json.JsonValue historyState, String trigger) Deprecated.voidstatic JmixUIcom.vaadin.flow.component.ComponentView<?>intgetUIId()protected ViewOpenModeinferOpenMode(Class<? extends View<?>> viewClass) protected Stringprotected booleanvoidCheck that the view can be leave.voidleaveNavigation(String route, String query) Deprecated.<C extends com.vaadin.flow.component.Component>
Optional<C>navigate(Class<? extends C> navigationTarget, com.vaadin.flow.router.RouteParameters routeParameter, com.vaadin.flow.router.QueryParameters queryParameters) <T,C extends com.vaadin.flow.component.Component & com.vaadin.flow.router.HasUrlParameter<T>>
Optional<C>navigate(Class<? extends C> navigationTarget, T parameter, com.vaadin.flow.router.QueryParameters queryParameters) <T extends com.vaadin.flow.component.Component>
Optional<T>navigate(Class<? extends T> navigationTarget, com.vaadin.flow.router.QueryParameters queryParameters) voidvoidremoveRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) protected voidvoidsetTopLevelView(View<?> topLevelView) voidshowRouterLayoutContent(com.vaadin.flow.component.HasElement content) 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, doInit, getActiveDragSourceComponent, getActiveRouterTargetsChain, getActiveViewLocation, getChildren, getCsrfToken, getElement, getInternals, getLoadingIndicatorConfiguration, getLocale, getNavigationListeners, getPage, getPollInterval, getPushConfiguration, getReconnectDialogConfiguration, getRouter, getSession, getUI, hasModalComponent, init, isClosing, isNavigationSupported, leaveNavigation, navigate, navigate, navigate, navigate, navigate, navigateToClient, onAttach, onDetach, push, refreshCurrentRoute, 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
addPollListener
-
Field Details
-
views
-
topLevelView
-
internalsHandler
protected com.vaadin.flow.component.internal.UIInternalUpdater internalsHandler -
redirectHandler
-
-
Constructor Details
-
JmixUI
-
JmixUI
protected JmixUI(Views views, com.vaadin.flow.component.internal.UIInternalUpdater internalsHandler)
-
-
Method Details
-
getUIId
public int getUIId()- Overrides:
getUIIdin classcom.vaadin.flow.component.UI
-
getCurrent
-
getForwardToClientUrl
- Overrides:
getForwardToClientUrlin classcom.vaadin.flow.component.UI
-
doInit
- Overrides:
doInitin classcom.vaadin.flow.component.UI
-
connectClient
@Deprecated public void connectClient(String flowRoutePath, String flowRouteQuery, String appShellTitle, elemental.json.JsonValue historyState, String trigger) Deprecated.- Overrides:
connectClientin classcom.vaadin.flow.component.UI
-
inferOpenMode
-
getRedirectHandler
-
getTopLevelView
-
getTopLevelViewOptional
-
setTopLevelView
-
getCurrentView
public com.vaadin.flow.component.Component getCurrentView()- Overrides:
getCurrentViewin classcom.vaadin.flow.component.UI
-
showRouterLayoutContent
public void showRouterLayoutContent(com.vaadin.flow.component.HasElement content) -
removeRouterLayoutContent
public void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) -
renderTopLevelView
protected void renderTopLevelView() -
inferTopLevelWindowId
-
isAnonymousAuthentication
protected boolean isAnonymousAuthentication()
-