org.apache.pivot.wtk
Class TreeViewNodeListener.Adapter

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

public static class TreeViewNodeListener.Adapter
extends Object
implements TreeViewNodeListener

Tree view node listener adapter.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TreeViewNodeListener
TreeViewNodeListener.Adapter
 
Constructor Summary
TreeViewNodeListener.Adapter()
           
 
Method Summary
 void nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)
          Called when a node has been inserted into the tree view.
 void nodesCleared(TreeView treeView, Sequence.Tree.Path path)
          Called when the nodes in a branch have been cleared.
 void nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)
          Called when nodes have been removed from the tree view.
 void nodesSorted(TreeView treeView, Sequence.Tree.Path path)
          Called when the nodes in a branch have been sorted.
 void nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)
          Called when a node in the tree view has been updated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeViewNodeListener.Adapter

public TreeViewNodeListener.Adapter()
Method Detail

nodeInserted

public void nodeInserted(TreeView treeView,
                         Sequence.Tree.Path path,
                         int index)
Description copied from interface: TreeViewNodeListener
Called when a node has been inserted into the tree view.

Specified by:
nodeInserted in interface TreeViewNodeListener

nodesRemoved

public void nodesRemoved(TreeView treeView,
                         Sequence.Tree.Path path,
                         int index,
                         int count)
Description copied from interface: TreeViewNodeListener
Called when nodes have been removed from the tree view.

Specified by:
nodesRemoved in interface TreeViewNodeListener
count - The number of nodes that were removed, or -1 if all nodes were removed.

nodeUpdated

public void nodeUpdated(TreeView treeView,
                        Sequence.Tree.Path path,
                        int index)
Description copied from interface: TreeViewNodeListener
Called when a node in the tree view has been updated.

Specified by:
nodeUpdated in interface TreeViewNodeListener

nodesCleared

public void nodesCleared(TreeView treeView,
                         Sequence.Tree.Path path)
Description copied from interface: TreeViewNodeListener
Called when the nodes in a branch have been cleared.

Specified by:
nodesCleared in interface TreeViewNodeListener

nodesSorted

public void nodesSorted(TreeView treeView,
                        Sequence.Tree.Path path)
Description copied from interface: TreeViewNodeListener
Called when the nodes in a branch have been sorted.

Specified by:
nodesSorted in interface TreeViewNodeListener