public interface ExpandingLayout extends ComponentContainer
Modifier and Type | Interface and Description |
---|---|
static class |
ExpandingLayout.ExpandDirection
Expand direction
|
Component.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.Wrapper
AUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE
Modifier and Type | Method and Description |
---|---|
void |
expand(Component component)
Specifies the component that will be given maximum available space.
|
ExpandingLayout.ExpandDirection |
getExpandDirection() |
boolean |
isExpanded(Component component)
Returns true if the component occupies the maximum available space.
|
void |
resetExpanded()
Resets the expanded component and provides equal space for all nested components.
|
add, add, remove, remove, removeAll
addStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedComposition
focusFirstComponent, getComponent, getComponentNN, getComponents, getOwnComponent, getOwnComponents, getOwnComponentsStream
void expand(Component component)
component
- the componentvoid resetExpanded()
boolean isExpanded(Component component)
component
- component to checkExpandingLayout.ExpandDirection getExpandDirection()
ExpandingLayout.ExpandDirection