com.gwtext.client.widgets.tree
Interface NodeExpansionCallback


public interface NodeExpansionCallback

Callback interface invoked on an expandable node.

See Also:
TreePanel.expandPath(String, NodeExpansionCallback)

Method Summary
 void onExpand(boolean success, TreeNode lastNode)
          The callback method to call when the expand is complete.
 

Method Detail

onExpand

void onExpand(boolean success,
              TreeNode lastNode)
The callback method to call when the expand is complete. The callback will be called with (success, lastNode) where success is if the expand was successful and lastNode is the last node that was expanded.

Parameters:
success - true if expand successful
lastNode - the last node expanded