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


public interface ChildsListener<E extends AsyncUniqueNode>

Special listener used within AsyncTreeModel to receive childs when loaded.

Author:
Mikle Garin

Method Summary
 void childsLoadCompleted(java.util.List<E> childs)
          Informs model that childs were loaded successfully.
 void childsLoadFailed(java.lang.Throwable cause)
          Informs model that childs load failed due to the specified exception.
 

Method Detail

childsLoadCompleted

void childsLoadCompleted(java.util.List<E> childs)
Informs model that childs were loaded successfully.

Parameters:
childs - list of loaded childs

childsLoadFailed

void childsLoadFailed(java.lang.Throwable cause)
Informs model that childs load failed due to the specified exception.

Parameters:
cause - exception