CHILD - is the generic type of the children.public interface UiWidgetSwitchComposite<CHILD extends UiWidget> extends UiWidgetDynamicComposite<CHILD>
dynamic composite widget that only shows a
single child at a time. You can switch the displayed
child programmatically.STYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIA| Modifier and Type | Method and Description |
|---|---|
boolean |
showChild(CHILD child)
This method shows the given
child. |
void |
showChild(int index)
This method shows the
child with the given index. |
boolean |
showChild(String id)
This method
shows the child identified by the given id. |
addChild, addChildremoveChild, removeChildgetChild, getChildgetChildCount, getChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidatevoid showChild(int index)
child with the given index.index - is the index of the child to show. It has to be in the range from
0 to UiWidgetAbstractComposite.getChildCount() - 1.boolean showChild(String id)
shows the child identified by the given id.Copyright © 2001–2016 mmm-Team. All rights reserved.