public class WebAppWorkArea extends WebAbstractComponent<com.vaadin.ui.CssLayout> implements AppWorkArea
Modifier and Type | Class and Description |
---|---|
static class |
WebAppWorkArea.TabSheetReorderingDropHandler |
AppWorkArea.Mode, AppWorkArea.State, AppWorkArea.StateChangeListener
Component.ActionOwner, Component.ActionsHolder, Component.Alignment, Component.BelongToFrame, Component.Buffered, Component.ChildEditableController, Component.Collapsable, Component.Container, Component.Disposable, Component.Editable, Component.EditableChangeEvent, Component.EditableChangeListener, Component.EditableChangeNotifier, Component.ExpandedStateChangeEvent, Component.ExpandedStateChangeListener, Component.Focusable, Component.HasBorder, Component.HasButtonsPanel, Component.HasCaption, Component.HasFormatter, Component.HasIcon, Component.HasInputPrompt, Component.HasNamedComponents, Component.HasPresentations, Component.HasRowsCount, Component.HasSettings, Component.HasValue, Component.HasXmlDescriptor, Component.LayoutClickEvent, Component.LayoutClickListener, Component.LayoutClickNotifier, Component.Margin, Component.MouseEventDetails, Component.OrderedContainer, Component.OuterMargin, Component.SecuredActionsHolder, Component.ShortcutAction, Component.ShortcutNotifier, Component.ShortcutTriggeredEvent, Component.Spacing, Component.UiPermissionAware, Component.Validatable, Component.ValueChangeEvent, Component.ValueChangeListener, Component.Wrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INITIAL_LAYOUT_STYLENAME |
static java.lang.String |
MODE_SINGLE_STYLENAME |
static java.lang.String |
MODE_TABBED_STYLENAME |
static java.lang.String |
SINGLE_CONTAINER_STYLENAME |
static java.lang.String |
STATE_INITIAL_STYLENAME |
static java.lang.String |
STATE_WINDOWS_STYLENAME |
static java.lang.String |
TABBED_CONTAINER_STYLENAME |
static java.lang.String |
WORKAREA_STYLENAME |
ICON_STYLE, UNIT_SYMBOLS
NAME
AUTO_SIZE, AUTO_SIZE_PX, UNITS_PERCENTAGE, UNITS_PIXELS
Constructor and Description |
---|
WebAppWorkArea() |
Modifier and Type | Method and Description |
---|---|
void |
addStateChangeListener(AppWorkArea.StateChangeListener listener) |
VBoxLayout |
getInitialLayout() |
AppWorkArea.Mode |
getMode() |
com.haulmont.cuba.web.toolkit.ui.CubaSingleModeContainer |
getSingleWindowContainer() |
AppWorkArea.State |
getState() |
java.lang.String |
getStyleName()
Styles implementation is client-type-specific.
|
com.haulmont.cuba.web.toolkit.ui.HasTabSheetBehaviour |
getTabbedWindowContainer() |
void |
removeStateChangeListener(AppWorkArea.StateChangeListener listener) |
void |
setFrame(Frame frame) |
void |
setInitialLayout(VBoxLayout initialLayout) |
void |
setMode(AppWorkArea.Mode mode) |
void |
setStyleName(java.lang.String name)
Sets one or more style names of the component, replacing any
previous styles.
|
void |
switchTo(AppWorkArea.State state)
Used only by
WebWindowManager |
addStyleName, assignAutoDebugId, getAlignment, getCaption, getComponent, getComponentEnabledFlag, getComponentVisibleFlag, getComposition, getDebugId, getDescription, getFrame, getHeight, getHeightUnits, getIcon, getId, getParent, getWidth, getWidthUnits, getXmlDescriptor, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setCaption, setDebugId, setDescription, setEnabled, setHeight, setIcon, setId, setParent, setResponsive, setVisible, setWidth, setXmlDescriptor, unwrap, unwrapComposition
addListener, addListener, fireEvent, hasListeners, removeListener, removeListener
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFrame
addStyleName, getAlignment, getDebugId, getHeight, getHeightUnits, getId, getParent, getWidth, getWidthUnits, isEnabled, isEnabledItself, isResponsive, isVisible, isVisibleItself, removeStyleName, requestFocus, setAlignment, setDebugId, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition
public static final java.lang.String WORKAREA_STYLENAME
public static final java.lang.String MODE_TABBED_STYLENAME
public static final java.lang.String MODE_SINGLE_STYLENAME
public static final java.lang.String STATE_INITIAL_STYLENAME
public static final java.lang.String STATE_WINDOWS_STYLENAME
public static final java.lang.String SINGLE_CONTAINER_STYLENAME
public static final java.lang.String TABBED_CONTAINER_STYLENAME
public static final java.lang.String INITIAL_LAYOUT_STYLENAME
public void setStyleName(java.lang.String name)
Component
setStyleName
in interface Component
setStyleName
in class WebAbstractComponent<com.vaadin.ui.CssLayout>
name
- one or more style names separated by space.public java.lang.String getStyleName()
Component
getStyleName
in interface Component
getStyleName
in class WebAbstractComponent<com.vaadin.ui.CssLayout>
public void setFrame(Frame frame)
setFrame
in interface Component.BelongToFrame
setFrame
in class WebAbstractComponent<com.vaadin.ui.CssLayout>
@Nonnull public VBoxLayout getInitialLayout()
getInitialLayout
in interface AppWorkArea
public void setInitialLayout(VBoxLayout initialLayout)
setInitialLayout
in interface AppWorkArea
public void addStateChangeListener(AppWorkArea.StateChangeListener listener)
addStateChangeListener
in interface AppWorkArea
public void removeStateChangeListener(AppWorkArea.StateChangeListener listener)
removeStateChangeListener
in interface AppWorkArea
public AppWorkArea.Mode getMode()
getMode
in interface AppWorkArea
public void setMode(AppWorkArea.Mode mode)
setMode
in interface AppWorkArea
public com.haulmont.cuba.web.toolkit.ui.HasTabSheetBehaviour getTabbedWindowContainer()
public com.haulmont.cuba.web.toolkit.ui.CubaSingleModeContainer getSingleWindowContainer()
public void switchTo(AppWorkArea.State state)
WebWindowManager
state
- new statepublic AppWorkArea.State getState()
getState
in interface AppWorkArea