Package io.jmix.tabbedmode.app.main
Class StandardTabbedModeMainView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.router.AfterNavigationObserver
,com.vaadin.flow.router.BeforeEnterObserver
,com.vaadin.flow.router.BeforeLeaveObserver
,com.vaadin.flow.router.HasDynamicTitle
,com.vaadin.flow.router.internal.AfterNavigationHandler
,com.vaadin.flow.router.internal.BeforeEnterHandler
,com.vaadin.flow.router.internal.BeforeLeaveHandler
,com.vaadin.flow.router.RouterLayout
,FragmentOwner
,HasWorkArea
,Serializable
- Direct Known Subclasses:
InitialView
public class StandardTabbedModeMainView
extends View<JmixAppLayout>
implements HasWorkArea, com.vaadin.flow.router.RouterLayout
Base class for tabbed mode main view.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.PostReadyEvent, View.QueryParametersChangeEvent, View.ReadyEvent, View.RestoreComponentsStateEvent
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsWorkArea
component, if present.protected void
void
onReady
(View.ReadyEvent event) protected void
void
removeRouterLayoutContent
(com.vaadin.flow.component.HasElement oldContent) void
setWorkArea
(WorkArea workArea) Sets theWorkArea
component for the view and updates the content with the specified work area.void
showRouterLayoutContent
(com.vaadin.flow.component.HasElement content) Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addApplicationListeners, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, configureDialogWindowFooter, configureDialogWindowHeader, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onAttachInternal, onDetach, onDetachInternal, processBeforeEnterInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPageTitle, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContent
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, 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.HasElement
getElement
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
Methods inherited from interface io.jmix.tabbedmode.app.main.HasWorkArea
getWorkArea
-
Field Details
-
workArea
-
-
Constructor Details
-
StandardTabbedModeMainView
public StandardTabbedModeMainView()
-
-
Method Details
-
getWorkAreaOptional
Description copied from interface:HasWorkArea
ReturnsWorkArea
component, if present.- Specified by:
getWorkAreaOptional
in interfaceHasWorkArea
- Returns:
- an
Optional
containing theWorkArea
if found; otherwise, an emptyOptional
-
setWorkArea
Sets theWorkArea
component for the view and updates the content with the specified work area.- Parameters:
workArea
- theWorkArea
instance to set- Throws:
IllegalStateException
- if the work area has already been initialized
-
onReady
-
openDefaultView
protected void openDefaultView() -
handleRedirect
protected void handleRedirect() -
showRouterLayoutContent
public void showRouterLayoutContent(com.vaadin.flow.component.HasElement content) - Specified by:
showRouterLayoutContent
in interfacecom.vaadin.flow.router.RouterLayout
-
removeRouterLayoutContent
public void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) - Specified by:
removeRouterLayoutContent
in interfacecom.vaadin.flow.router.RouterLayout
-