Package io.jmix.tabbedmode.app.main
Class StandardTabbedModeMainView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<JmixAppLayout>
io.jmix.flowui.app.main.StandardMainView
io.jmix.tabbedmode.app.main.StandardTabbedModeMainView
- 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
@CssImport("./src/view/main-view.css")
public class StandardTabbedModeMainView
extends StandardMainView
implements HasWorkArea
- 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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>
getEntityClass
(ViewInfo viewInfo) protected Object
getEntityToEdit
(String viewId) com.vaadin.flow.component.Component
protected void
protected JmixAppLayout
protected Metadata
metadata()
void
onReady
(View.ReadyEvent event) protected void
void
removeRouterLayoutContent
(com.vaadin.flow.component.HasElement oldContent) void
setInitialLayout
(com.vaadin.flow.component.Component initialLayout) Sets a component that is displayed if no view is opened.void
showRouterLayoutContent
(com.vaadin.flow.component.HasElement content) protected UiComponents
protected UiProperties
protected ViewRegistry
protected Views
views()
Methods inherited from class io.jmix.flowui.app.main.StandardMainView
afterNavigation, getTitleComponent, getTitleFromOpenedView, updateTitle
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, addRestoreComponentsStateEventListener, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getEventBus, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigation
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
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
-
Constructor Details
-
StandardTabbedModeMainView
public StandardTabbedModeMainView()
-
-
Method Details
-
initContent
- Overrides:
initContent
in classcom.vaadin.flow.component.Composite<JmixAppLayout>
-
getWorkArea
- Specified by:
getWorkArea
in interfaceHasWorkArea
- Returns:
- a work area component
-
getInitialLayout
public com.vaadin.flow.component.Component getInitialLayout()- Overrides:
getInitialLayout
in classStandardMainView
- Returns:
- a component that is displayed if no view is opened.
-
setInitialLayout
public void setInitialLayout(com.vaadin.flow.component.Component initialLayout) Description copied from class:StandardMainView
Sets a component that is displayed if no view is opened.- Overrides:
setInitialLayout
in classStandardMainView
- Parameters:
initialLayout
- a component to display- See Also:
-
showRouterLayoutContent
public void showRouterLayoutContent(com.vaadin.flow.component.HasElement content) - Specified by:
showRouterLayoutContent
in interfacecom.vaadin.flow.router.RouterLayout
- Overrides:
showRouterLayoutContent
in classStandardMainView
-
removeRouterLayoutContent
public void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) - Specified by:
removeRouterLayoutContent
in interfacecom.vaadin.flow.router.RouterLayout
-
onReady
-
openDefaultView
protected void openDefaultView() -
getEntityToEdit
-
getEntityClass
-
handleRedirect
protected void handleRedirect() -
uiComponents
-
uiProperties
-
views
-
viewRegistry
-
metadata
-