public interface ChildrenProvider<T>
TreeModel which is supported by AsyncTreeModel.
It is intended to simplify implementing of a couple corresponding methods in a model.
Also this interface provides a way to cancel children updating for the specified node.
If the underlying model returns null, the node children in AsyncTreeModel will not be updated.
To update children this model should notify about changed structure by usual means.TreeModel.getChildCount(Object),
TreeModel.getChild(Object, int)| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends T> |
getChildren(java.lang.Object parent) |
java.util.List<? extends T> getChildren(java.lang.Object parent)
parent - a tree nodenull if they are not ready yet