org.apache.pivot.wtk
Class TreeViewBranchListener.Adapter
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeViewBranchListener.Adapter
public TreeViewBranchListener.Adapter()
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.