CHILD - is the generic type of the children.public interface UiWidgetSingleMutableComposite<CHILD extends UiWidget> extends UiWidgetSingleComposite<CHILD>
single composite widget that allows to
set or replace its child.STYLE_HEADERHTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_IDPROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLEWAI_ARIA| Modifier and Type | Method and Description |
|---|---|
CHILD |
getChild()
This method gets the single
child of this composite. |
int |
getChildCount()
This method gets the number of children in this composite.
|
void |
setChild(CHILD child)
This method sets the single
child of this widget. |
getChild, getChildgetChildIndexgetContext, getParent, getSizeclearMessagesaddEventHandler, removeEventHandlersetModegetModesetModeFixedgetModeFixedsetIdgetIdsetTooltipgetTooltipgetVisibleFlag, isVisible, setVisible, setVisibleisVisibleRecursivesetEnabledisEnabledaddStyle, removeStylehasStylesetStylesgetStylessetPrimaryStylegetPrimaryStyledisposeisDisposedisModifiedgetAriaRolevalidateCHILD getChild()
child of this composite.getChild in interface UiWidgetSingleComposite<CHILD extends UiWidget>null if not set.void setChild(CHILD child)
child of this widget. The current child will be replaced (and is therefore removed from the UI).child - is the new child to set.int getChildCount()
getChildCount in interface UiWidgetAbstractCompositegetChildCount in interface UiWidgetSingleComposite<CHILD extends UiWidget>0 if getChild() will return null, 1 otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.