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 class
static class
Nested 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.UIInternalUpdater
protected RedirectHandler
protected View<?>
protected final Views
Fields inherited from class com.vaadin.flow.component.UI
CLIENT_NAVIGATE_TO, wrapperElement
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Connect a client with the server side UI.void
connectClient
(String flowRoutePath, String flowRouteQuery, String appShellTitle, elemental.json.JsonValue historyState, String trigger) Deprecated.void
static JmixUI
com.vaadin.flow.component.Component
View<?>
int
getUIId()
protected ViewOpenMode
inferOpenMode
(Class<? extends View<?>> viewClass) protected String
protected boolean
void
Check that the view can be leave.void
leaveNavigation
(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) void
void
removeRouterLayoutContent
(com.vaadin.flow.component.HasElement oldContent) protected void
void
setTopLevelView
(View<?> topLevelView) void
showRouterLayoutContent
(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, 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
-
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:
getUIId
in classcom.vaadin.flow.component.UI
-
getCurrent
-
getForwardToClientUrl
- Overrides:
getForwardToClientUrl
in classcom.vaadin.flow.component.UI
-
doInit
- Overrides:
doInit
in classcom.vaadin.flow.component.UI
-
connectClient
@Deprecated public void connectClient(String flowRoutePath, String flowRouteQuery, String appShellTitle, elemental.json.JsonValue historyState, String trigger) Deprecated.- Overrides:
connectClient
in classcom.vaadin.flow.component.UI
-
inferOpenMode
-
getRedirectHandler
-
getTopLevelView
-
getTopLevelViewOptional
-
setTopLevelView
-
getCurrentView
public com.vaadin.flow.component.Component getCurrentView()- Overrides:
getCurrentView
in 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()
-