NODE
- is the generic type of the tree-nodes of this model.public static interface UiWidgetAbstractTree.UiTreeModel<NODE>
UiWidgetTree
. If the tree structure should be editable
for the end-user you need to implement UiWidgetAbstractTree.UiTreeModelMutable
. However,
modification of the tree node data is still possible if the tree is
editable
.Modifier and Type | Method and Description |
---|---|
List<NODE> |
getChildren(NODE node)
This method gets the children of the given tree-node.
|
void |
getChildrenAsync(NODE node,
Consumer<List<NODE>> callback)
This method gets the children of the given tree-node asynchronously.
|
List<NODE> getChildren(NODE node)
node
- the tree-node for which the children are requested.List
of child-nodes or null
if NOT available and
asynchronous loading
is required.Copyright © 2001–2016 mmm-Team. All rights reserved.