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 TypeMethodDescriptionReturnsWorkAreacomponent, if present.protected voidvoidonReady(View.ReadyEvent event) protected voidvoidremoveRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) voidsetWorkArea(WorkArea workArea) Sets theWorkAreacomponent for the view and updates the content with the specified work area.voidshowRouterLayoutContent(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, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement, initContentMethods 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, 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.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameMethods 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:HasWorkAreaReturnsWorkAreacomponent, if present.- Specified by:
getWorkAreaOptionalin interfaceHasWorkArea- Returns:
- an
Optionalcontaining theWorkAreaif found; otherwise, an emptyOptional
-
setWorkArea
Sets theWorkAreacomponent for the view and updates the content with the specified work area.- Parameters:
workArea- theWorkAreainstance 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:
showRouterLayoutContentin interfacecom.vaadin.flow.router.RouterLayout
-
removeRouterLayoutContent
public void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) - Specified by:
removeRouterLayoutContentin interfacecom.vaadin.flow.router.RouterLayout
-