com.alee.extended.tree
Interface AsyncTreeModelListener<E extends AsyncUniqueNode>

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
AsyncTreeModelAdapter, WebAsyncTree, WebFileTree

public interface AsyncTreeModelListener<E extends AsyncUniqueNode>
extends java.util.EventListener

This listener interface provide various asynchronous tree model events.

Author:
Mikle Garin

Method Summary
 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.
 

Method Detail

childsLoadStarted

void childsLoadStarted(E parent)
Invoked when childs load operation starts.

Parameters:
parent - node which childs are being loaded

childsLoadCompleted

void childsLoadCompleted(E parent,
                         java.util.List<E> childs)
Invoked when childs load operation finishes.

Parameters:
parent - node which childs were loaded
childs - loaded child nodes

childsLoadFailed

void childsLoadFailed(E parent,
                      java.lang.Throwable cause)
Invoked when childs load operation failed.

Parameters:
parent - node which childs were loaded
cause - childs load failure cause