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 ObjectgetEntityToEdit(String viewId) com.vaadin.flow.component.Componentprotected voidprotected JmixAppLayoutprotected Metadatametadata()voidonReady(View.ReadyEvent event) protected voidvoidremoveRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) voidsetInitialLayout(com.vaadin.flow.component.Component initialLayout) Sets a component that is displayed if no view is opened.voidshowRouterLayoutContent(com.vaadin.flow.component.HasElement content) protected UiComponentsprotected UiPropertiesprotected ViewRegistryprotected Viewsviews()Methods inherited from class io.jmix.flowui.app.main.StandardMainView
afterNavigation, getTitleComponent, getTitleFromOpenedView, updateTitleMethods 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, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods 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, setClassName
-
Constructor Details
-
StandardTabbedModeMainView
public StandardTabbedModeMainView()
-
-
Method Details
-
initContent
- Overrides:
initContentin classcom.vaadin.flow.component.Composite<JmixAppLayout>
-
getWorkArea
- Specified by:
getWorkAreain interfaceHasWorkArea- Returns:
- a work area component
-
getInitialLayout
public com.vaadin.flow.component.Component getInitialLayout()- Overrides:
getInitialLayoutin 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:StandardMainViewSets a component that is displayed if no view is opened.- Overrides:
setInitialLayoutin classStandardMainView- Parameters:
initialLayout- a component to display- See Also:
-
showRouterLayoutContent
public void showRouterLayoutContent(com.vaadin.flow.component.HasElement content) - Specified by:
showRouterLayoutContentin interfacecom.vaadin.flow.router.RouterLayout- Overrides:
showRouterLayoutContentin classStandardMainView
-
removeRouterLayoutContent
public void removeRouterLayoutContent(com.vaadin.flow.component.HasElement oldContent) - Specified by:
removeRouterLayoutContentin interfacecom.vaadin.flow.router.RouterLayout
-
onReady
-
openDefaultView
protected void openDefaultView() -
getEntityToEdit
-
getEntityClass
-
handleRedirect
protected void handleRedirect() -
uiComponents
-
uiProperties
-
views
-
viewRegistry
-
metadata
-