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 enum
Work area statestatic class
Event that is fired when work area changed its state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected com.vaadin.flow.component.Component
protected JmixMainTabSheet
protected RouteSupport
protected AppWorkArea.State
static final String
protected UiComponents
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected com.vaadin.flow.component.Component
protected JmixMainTabSheet
com.vaadin.flow.component.Component
int
protected void
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setInitialLayout
(com.vaadin.flow.component.Component initialLayout) void
switchTo
(AppWorkArea.State state) protected void
updatePageTitle
(View<?> view) protected void
updateUrl
(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, 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.HasSize
getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
Methods 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:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in 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()
-