E - custom node typepublic interface AsyncTreeDataProvider<E extends AsyncUniqueNode>
| Modifier and Type | Method and Description |
|---|---|
java.util.Comparator<E> |
getChildsComparator(E node)
Returns child nodes comparator for the specified asynchronous tree node.
|
com.alee.utils.compare.Filter<E> |
getChildsFilter(E node)
Returns child nodes filter for the specified asynchronous tree node.
|
E |
getRoot()
Returns asynchronous tree root node.
|
boolean |
isLeaf(E node)
Returns whether the specified node is leaf (doesn't have any childs) or not.
|
void |
loadChilds(E node,
ChildsListener<E> listener)
Starts loading child nodes for the specified asynchronous tree node.
|
E getRoot()
void loadChilds(E node, ChildsListener<E> listener)
node - parent nodelistener - childs loading progress listenerjava.util.Comparator<E> getChildsComparator(E node)
node - parent nodecom.alee.utils.compare.Filter<E> getChildsFilter(E node)
node - parent nodeboolean isLeaf(E node)
node - node