Package org.apache.pivot.wtk
Class TreeViewNodeListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.TreeViewNodeListener.Adapter
-
- All Implemented Interfaces:
TreeViewNodeListener
- Enclosing interface:
- TreeViewNodeListener
@Deprecated public static class TreeViewNodeListener.Adapter extends java.lang.Object implements TreeViewNodeListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Tree view node listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TreeViewNodeListener
TreeViewNodeListener.Adapter, TreeViewNodeListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)
Deprecated.Called when a node has been inserted into the tree view.void
nodesCleared(TreeView treeView, Sequence.Tree.Path path)
Deprecated.Called when the nodes in a branch have been cleared.void
nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)
Deprecated.Called when nodes have been removed from the tree view.void
nodesSorted(TreeView treeView, Sequence.Tree.Path path)
Deprecated.Called when the nodes in a branch have been sorted.void
nodeUpdated(TreeView treeView, Sequence.Tree.Path path, int index)
Deprecated.Called when a node in the tree view has been updated.
-
-
-
Method Detail
-
nodeInserted
public void nodeInserted(TreeView treeView, Sequence.Tree.Path path, int index)
Deprecated.Description copied from interface:TreeViewNodeListener
Called when a node has been inserted into the tree view.- Specified by:
nodeInserted
in interfaceTreeViewNodeListener
- Parameters:
treeView
- The source of this event.path
- The path to the branch where the node was inserted.index
- The index of the newly inserted node within the branch.
-
nodesRemoved
public void nodesRemoved(TreeView treeView, Sequence.Tree.Path path, int index, int count)
Deprecated.Description copied from interface:TreeViewNodeListener
Called when nodes have been removed from the tree view.- Specified by:
nodesRemoved
in interfaceTreeViewNodeListener
- Parameters:
treeView
- The source of this event.path
- The path to the branch where the node(s) were removed.index
- The index to the first removed node within the branch.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)
Deprecated.Description copied from interface:TreeViewNodeListener
Called when a node in the tree view has been updated.- Specified by:
nodeUpdated
in interfaceTreeViewNodeListener
- Parameters:
treeView
- The source of this event.path
- Path to the branch that is the parent of the updated node.index
- Index of the updated node within the branch.
-
nodesCleared
public void nodesCleared(TreeView treeView, Sequence.Tree.Path path)
Deprecated.Description copied from interface:TreeViewNodeListener
Called when the nodes in a branch have been cleared.- Specified by:
nodesCleared
in interfaceTreeViewNodeListener
- Parameters:
treeView
- The source of this event.path
- Path to the branch where the nodes were cleared.
-
nodesSorted
public void nodesSorted(TreeView treeView, Sequence.Tree.Path path)
Deprecated.Description copied from interface:TreeViewNodeListener
Called when the nodes in a branch have been sorted.- Specified by:
nodesSorted
in interfaceTreeViewNodeListener
- Parameters:
treeView
- The source of this event.path
- Path to the branch where the nodes were sorted.
-
-