CHILD
- is the generic type of the children
.public interface UiWidgetDynamicComposite<CHILD extends UiWidget> extends UiWidgetMultiComposite<CHILD>
composite widget
that allows to
add
and remove
its children dynamically with no
additional arguments (e.g. layout information).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 |
addChild(CHILD child)
This method adds the given
child to the end of the child-list . |
void |
addChild(CHILD child,
int index)
This method adds or better inserts the given
child at the given index . |
removeChild, removeChild
getChild, getChild
getChildCount, 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
void addChild(CHILD child)
child
to the end of the child-list
. For
vertical layouts this will be the bottom and for horizontal layouts this will be the right.child
- is the UiWidget
to add as child of this composite.List.add(Object)
void addChild(CHILD child, int index)
child
at the given index
.child
- is the UiWidget
to add as child of this panel.index
- is the index
of the new child. It has to be in the range from
0
to UiWidgetAbstractComposite.getChildCount()
.addChild(UiWidget)
,
List.add(int, Object)
Copyright © 2001–2016 mmm-Team. All rights reserved.