NODE
- is the generic type of the tree-nodes.WIDGET
- is the generic type of the UiWidgetRegular
used to render a <NODE>.public static interface UiWidgetAbstractTree.UiTreeNodeRenderer<NODE,WIDGET extends UiWidgetRegular> extends UiSingleWidgetFactory<WIDGET>
Modifier and Type | Method and Description |
---|---|
void |
assignNodeToWidget(NODE node,
WIDGET widget)
This method assigns the given <NODE> to the given
widget . |
create
void assignNodeToWidget(NODE node, WIDGET widget)
widget
. UiWidgetLabel
and <NODE> may be String
.
Then this method would simply do widget.setLabel(node)
. UiWidgetRegular
may be reused for optimal performance if the <NODE> has changed
or been removed. Therefore this method needs to reset and update the entire state of the
UiWidgetRegular
.node
- is the <NODE> to assign.widget
- is the UiWidgetRegular
that is to be assigned. It has initially been created via
UiSingleWidgetFactory.create(net.sf.mmm.client.ui.api.UiContext)
.Copyright © 2001–2016 mmm-Team. All rights reserved.