org.apache.pivot.wtk
Interface TreeViewBranchListener

All Known Implementing Classes:
TerraTreeViewSkin, TreeViewBranchListener.Adapter

public interface TreeViewBranchListener

Tree view branch listener interface.


Nested Class Summary
static class TreeViewBranchListener.Adapter
          Tree view branch listener adapter.
 
Method Summary
 void branchCollapsed(TreeView treeView, Sequence.Tree.Path path)
          Called when a tree node is collapsed.
 void branchExpanded(TreeView treeView, Sequence.Tree.Path path)
          Called when a tree node is expanded.
 

Method Detail

branchExpanded

void branchExpanded(TreeView treeView,
                    Sequence.Tree.Path path)
Called when a tree node is expanded. This event can be used to perform lazy loading of tree node data.

Parameters:
treeView - The source of the event.
path - The path of the node that was shown.

branchCollapsed

void branchCollapsed(TreeView treeView,
                     Sequence.Tree.Path path)
Called when a tree node is collapsed.

Parameters:
treeView - The source of the event.
path - The path of the node that was collapsed.