public interface TreeViewModel
Modifier and Type | Interface and Description |
---|---|
static class |
TreeViewModel.DefaultNodeInfo<T>
Default implementation of
TreeViewModel.NodeInfo . |
static interface |
TreeViewModel.NodeInfo<T>
The info needed to create the children of a tree node.
|
Modifier and Type | Method and Description |
---|---|
<T> TreeViewModel.NodeInfo<?> |
getNodeInfo(T value)
Get the
TreeViewModel.NodeInfo that will provide the ProvidesKey ,
Cell , and HasData instances to retrieve and display the
children of the specified value. |
boolean |
isLeaf(java.lang.Object value)
Check if the value is known to be a leaf node.
|
<T> TreeViewModel.NodeInfo<?> getNodeInfo(T value)
TreeViewModel.NodeInfo
that will provide the ProvidesKey
,
Cell
, and HasData
instances to retrieve and display the
children of the specified value.value
- the value in the parent nodeTreeViewModel.NodeInfo
boolean isLeaf(java.lang.Object value)
value
- the value at the node