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_HEADER
HTML_ATTRIBUTE_ID, ID_SEPARATOR, PROPERTY_ID
PROPERTY_STYLES, STYLE_PATTERN_MULTIPLE, STYLE_PATTERN_SINGLE
WAI_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, getChild
getChildIndex
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
CHILD 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 UiWidgetAbstractComposite
getChildCount
in interface UiWidgetSingleComposite<CHILD extends UiWidget>
0
if getChild()
will return null
, 1
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.