public interface UiWidgetCollapsableSection extends UiWidgetRegular, AttributeWriteLabel, UiFeatureCollapse, UiWidgetNative
regular widget
that represents a
collapsable section. It is like UiWidgetSection
but allows to be
collapsed and expanded
. Modifier and Type | Field and Description |
---|---|
static String |
STYLE_COLLAPSE_BUTTON
The
style for the button to collapse/expand. |
static String |
STYLE_COLLAPSED
The
additional style for the button in case the section is collapsed. |
static String |
STYLE_PRIMARY
The default
primary style of this widget. |
PROPERTY_LABEL
STYLE_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_ARIA
Modifier and Type | Method and Description |
---|---|
void |
addCollapseWidget(UiWidget widget)
Adds a
collapse handler that triggers the
AttributeWriteVisibleAdvanced.getVisibleFlag() visibility} of
the given UiWidget . |
setLabel
getLabel
addCollapseHandler, removeCollapseHandle
setCollapsed
isCollapsed
getContext, getParent, getSize
clearMessages
addEventHandler, removeEventHandler
setMode
getMode
setModeFixed
getModeFixed
setId
getId
setTooltip
getTooltip
getVisibleFlag, isVisible, setVisible, setVisible
isVisibleRecursive
setEnabled
isEnabled
addStyle, removeStyle
hasStyle
setStyles
getStyles
setPrimaryStyle
getPrimaryStyle
dispose
isDisposed
isModified
getAriaRole
validate
static final String STYLE_PRIMARY
primary style
of this widget.static final String STYLE_COLLAPSE_BUTTON
style
for the button to collapse/expand.static final String STYLE_COLLAPSED
additional style
for the button in case the section is collapsed.void addCollapseWidget(UiWidget widget)
Adds
a
collapse handler
that triggers the
AttributeWriteVisibleAdvanced.getVisibleFlag()
visibility} of
the given UiWidget
. On collapse the UiWidget
will be hidden, on expand it will be shown
(or more precisely its visible state will be restored).widget
- is the widget to add.Copyright © 2001–2016 mmm-Team. All rights reserved.