Package org.apache.pivot.wtk
Interface TreeView.NodeEditor
-
- All Known Implementing Classes:
TreeViewNodeEditor
- Enclosing class:
- TreeView
public static interface TreeView.NodeEditor
Tree view node editor interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beginEdit(TreeView treeView, Sequence.Tree.Path path)
Called to begin editing a tree node.void
endEdit(boolean result)
Terminates an edit operation.boolean
isEditing()
-
-
-
Method Detail
-
beginEdit
void beginEdit(TreeView treeView, Sequence.Tree.Path path)
Called to begin editing a tree node.- Parameters:
treeView
- The source of this event.path
- The path to the node being edited.
-
endEdit
void endEdit(boolean result)
Terminates an edit operation.- Parameters:
result
-true
to perform the edit;false
to cancel it.
-
isEditing
boolean isEditing()
- Returns:
- Whether an edit is currently in progress.
-
-