org.apache.pivot.wtk
Interface TreeView.NodeEditor

All Superinterfaces:
Editor
All Known Implementing Classes:
TreeViewNodeEditor
Enclosing class:
TreeView

public static interface TreeView.NodeEditor
extends Editor

Tree view node editor interface.


Nested Class Summary
static class TreeView.NodeEditor.NodeEditorListenerList
          Node editor listener list.
 
Method Summary
 void editNode(TreeView treeView, Sequence.Tree.Path path)
          Notifies the editor that editing should begin.
 ListenerList<TreeView.NodeEditorListener> getNodeEditorListeners()
          Gets the node editor listener list.
 
Methods inherited from interface org.apache.pivot.wtk.Editor
cancelEdit, isEditing, saveChanges
 

Method Detail

editNode

void editNode(TreeView treeView,
              Sequence.Tree.Path path)
Notifies the editor that editing should begin. If the editor is currently installed on the tree view, the skin may call this method when the user executes the appropriate gesture (as defined by the skin).

Parameters:
treeView - The tree view containing the node to be edited.
path - The path to the node to edit.
See Also:
TreeView.setNodeEditor(NodeEditor)

getNodeEditorListeners

ListenerList<TreeView.NodeEditorListener> getNodeEditorListeners()
Gets the node editor listener list.