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_LABELSTYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_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. |
setLabelgetLabeladdCollapseHandler, removeCollapseHandlesetCollapsedisCollapsedgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidatestatic 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.