Class AppWorkArea
java.lang.Object
com.vaadin.flow.component.Component
io.jmix.tabbedmode.component.workarea.AppWorkArea
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasSize,com.vaadin.flow.component.HasStyle,Serializable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.InitializingBean,org.springframework.context.ApplicationContextAware
@Tag("div")
public class AppWorkArea
extends com.vaadin.flow.component.Component
implements com.vaadin.flow.component.HasSize, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWork area statestatic classEvent that is fired when work area changed its state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected com.vaadin.flow.component.Componentprotected JmixMainTabSheetprotected RouteSupportprotected AppWorkArea.Statestatic final Stringprotected UiComponentsstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected com.vaadin.flow.component.Componentprotected JmixMainTabSheetcom.vaadin.flow.component.Componentintprotected voidvoidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetInitialLayout(com.vaadin.flow.component.Component initialLayout) voidswitchTo(AppWorkArea.State state) protected voidupdatePageTitle(View<?> view) protected voidupdateUrl(com.vaadin.flow.router.Location resolvedLocation) Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, 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.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFullMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
WORK_AREA_CLASS_NAME
- See Also:
-
TABBED_CONTAINER_CLASS_NAME
- See Also:
-
INITIAL_LAYOUT_CLASS_NAME
- See Also:
-
routeSupport
-
uiComponents
-
state
-
mainTabSheet
-
initialLayout
protected com.vaadin.flow.component.Component initialLayout
-
-
Constructor Details
-
AppWorkArea
public AppWorkArea()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
createMainTabSheet
-
createInitialLayout
protected com.vaadin.flow.component.Component createInitialLayout() -
getInitialLayout
public com.vaadin.flow.component.Component getInitialLayout() -
setInitialLayout
public void setInitialLayout(com.vaadin.flow.component.Component initialLayout) -
onSelectedTabChanged
-
updateUrl
protected void updateUrl(com.vaadin.flow.router.Location resolvedLocation) -
updatePageTitle
-
switchTo
-
getTabbedWindowContainer
-
getOpenedTabCount
public int getOpenedTabCount()
-