org.apache.pivot.wtk
Class TreeViewBranchListener.Adapter

java.lang.Object
  extended by org.apache.pivot.wtk.TreeViewBranchListener.Adapter
All Implemented Interfaces:
TreeViewBranchListener
Enclosing interface:
TreeViewBranchListener

public static class TreeViewBranchListener.Adapter
extends Object
implements TreeViewBranchListener

Tree view branch listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TreeViewBranchListener
TreeViewBranchListener.Adapter
 
Constructor Summary
TreeViewBranchListener.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeViewBranchListener.Adapter

public TreeViewBranchListener.Adapter()
Method Detail

branchExpanded

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

Specified by:
branchExpanded in interface TreeViewBranchListener
Parameters:
treeView - The source of the event.
path - The path of the node that was shown.

branchCollapsed

public void branchCollapsed(TreeView treeView,
                            Sequence.Tree.Path path)
Description copied from interface: TreeViewBranchListener
Called when a tree node is collapsed.

Specified by:
branchCollapsed in interface TreeViewBranchListener
Parameters:
treeView - The source of the event.
path - The path of the node that was collapsed.