E - custom node typepublic abstract class AsyncTreeAdapter<E extends AsyncUniqueNode> extends java.lang.Object implements AsyncTreeListener<E>
| Constructor and Description |
|---|
AsyncTreeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
loadCompleted(E parent,
java.util.List<E> children)
Invoked when children load operation finishes.
|
void |
loadFailed(E parent,
java.lang.Throwable cause)
Invoked when children load operation failed.
|
void |
loadStarted(E parent)
Invoked when children load operation starts.
|
public void loadStarted(E parent)
AsyncTreeListenerloadStarted in interface AsyncTreeListener<E extends AsyncUniqueNode>parent - node which children are being loadedpublic void loadCompleted(E parent, java.util.List<E> children)
AsyncTreeListenerloadCompleted in interface AsyncTreeListener<E extends AsyncUniqueNode>parent - node which children were loadedchildren - loaded child nodespublic void loadFailed(E parent, java.lang.Throwable cause)
AsyncTreeListenerloadFailed in interface AsyncTreeListener<E extends AsyncUniqueNode>parent - node which children were loadedcause - children load failure cause