org.apache.pivot.wtk
Class TreeViewSelectionListener.Adapter

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

public static class TreeViewSelectionListener.Adapter
extends Object
implements TreeViewSelectionListener

Tree view selection listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TreeViewSelectionListener
TreeViewSelectionListener.Adapter
 
Constructor Summary
TreeViewSelectionListener.Adapter()
           
 
Method Summary
 void selectedNodeChanged(TreeView treeView, Object previousSelectedNode)
          Called when a tree view's selected node has changed.
 void selectedPathAdded(TreeView treeView, Sequence.Tree.Path path)
          Called when a selected path has been added to a tree view.
 void selectedPathRemoved(TreeView treeView, Sequence.Tree.Path path)
          Called when a selected path has been removed from a tree view.
 void selectedPathsChanged(TreeView treeView, Sequence<Sequence.Tree.Path> previousSelectedPaths)
          Called when a tree view's selection state has been reset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeViewSelectionListener.Adapter

public TreeViewSelectionListener.Adapter()
Method Detail

selectedPathAdded

public void selectedPathAdded(TreeView treeView,
                              Sequence.Tree.Path path)
Description copied from interface: TreeViewSelectionListener
Called when a selected path has been added to a tree view.

Specified by:
selectedPathAdded in interface TreeViewSelectionListener

selectedPathRemoved

public void selectedPathRemoved(TreeView treeView,
                                Sequence.Tree.Path path)
Description copied from interface: TreeViewSelectionListener
Called when a selected path has been removed from a tree view.

Specified by:
selectedPathRemoved in interface TreeViewSelectionListener

selectedPathsChanged

public void selectedPathsChanged(TreeView treeView,
                                 Sequence<Sequence.Tree.Path> previousSelectedPaths)
Description copied from interface: TreeViewSelectionListener
Called when a tree view's selection state has been reset.

Specified by:
selectedPathsChanged in interface TreeViewSelectionListener

selectedNodeChanged

public void selectedNodeChanged(TreeView treeView,
                                Object previousSelectedNode)
Description copied from interface: TreeViewSelectionListener
Called when a tree view's selected node has changed.

Specified by:
selectedNodeChanged in interface TreeViewSelectionListener