|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TreeView.NodeEditorListener
The node editor listener interface. This provides callers with notifications about a node editor's activity.
Nested Class Summary | |
---|---|
static class |
TreeView.NodeEditorListener.Adapter
Node editor listener adapter. |
Method Summary | |
---|---|
void |
changesSaved(TreeView.NodeEditor nodeEditor,
TreeView treeView,
Sequence.Tree.Path path)
Called when changes have been saved. |
void |
editCancelled(TreeView.NodeEditor nodeEditor,
TreeView treeView,
Sequence.Tree.Path path)
Called when an edit has been cancelled. |
void |
editNodeVetoed(TreeView.NodeEditor nodeEditor,
Vote reason)
Called when a node edit was vetoed by a listener in the preview event. |
void |
nodeEditing(TreeView.NodeEditor nodeEditor,
TreeView treeView,
Sequence.Tree.Path path)
Called when editing has begun. |
Vote |
previewEditNode(TreeView.NodeEditor nodeEditor,
TreeView treeView,
Sequence.Tree.Path path)
Called to preview a node edit. |
Vote |
previewSaveChanges(TreeView.NodeEditor nodeEditor,
TreeView treeView,
Sequence.Tree.Path path,
Object changes)
Called to preview a save. |
void |
saveChangesVetoed(TreeView.NodeEditor nodeEditor,
Vote reason)
Called when a save was vetoed by a listener in the preview event. |
Method Detail |
---|
Vote previewEditNode(TreeView.NodeEditor nodeEditor, TreeView treeView, Sequence.Tree.Path path)
nodeEditor
- The node editortreeView
- The tree view containing the node to be edited.path
- The path to the node to edit.
void editNodeVetoed(TreeView.NodeEditor nodeEditor, Vote reason)
nodeEditor
- The node editorreason
- The reason for the vetovoid nodeEditing(TreeView.NodeEditor nodeEditor, TreeView treeView, Sequence.Tree.Path path)
nodeEditor
- The node editortreeView
- The tree view containing the node being edited.path
- The path to the node being edited.Vote previewSaveChanges(TreeView.NodeEditor nodeEditor, TreeView treeView, Sequence.Tree.Path path, Object changes)
nodeEditor
- The node editortreeView
- The tree view containing the node being edited.path
- The path to the node being edited.changes
- The proposed changes. The type of this object will depend on the
editor implementation.
void saveChangesVetoed(TreeView.NodeEditor nodeEditor, Vote reason)
nodeEditor
- The node editorreason
- The reason for the vetovoid changesSaved(TreeView.NodeEditor nodeEditor, TreeView treeView, Sequence.Tree.Path path)
nodeEditor
- The node editortreeView
- The tree view containing the node that was edited.path
- The path to the node that was edited.void editCancelled(TreeView.NodeEditor nodeEditor, TreeView treeView, Sequence.Tree.Path path)
nodeEditor
- The node editortreeView
- The tree view containing the node that was being edited.path
- The path to the node that was being edited.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |