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 |
childsLoadCompleted(E parent,
java.util.List<E> childs)
Invoked when childs load operation finishes.
|
void |
childsLoadFailed(E parent,
java.lang.Throwable cause)
Invoked when childs load operation failed.
|
void |
childsLoadStarted(E parent)
Invoked when childs load operation starts.
|
public void childsLoadStarted(E parent)
childsLoadStarted in interface AsyncTreeListener<E extends AsyncUniqueNode>parent - node which childs are being loadedpublic void childsLoadCompleted(E parent, java.util.List<E> childs)
childsLoadCompleted in interface AsyncTreeListener<E extends AsyncUniqueNode>parent - node which childs were loadedchilds - loaded child nodespublic void childsLoadFailed(E parent, java.lang.Throwable cause)
childsLoadFailed in interface AsyncTreeListener<E extends AsyncUniqueNode>parent - node which childs were loadedcause - childs load failure cause