public class UndoableModifySubtree
extends javax.swing.undo.AbstractUndoableEdit
| Constructor and Description |
|---|
UndoableModifySubtree(GroupSelector groupSelector,
GroupTreeNode groupRoot,
GroupTreeNode subtree,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRedoPresentationName() |
java.lang.String |
getUndoPresentationName() |
void |
redo() |
void |
setRevalidate(boolean revalidate)
Call this method to decide if the group list should be immediately
revalidated by this operation.
|
void |
undo() |
public UndoableModifySubtree(GroupSelector groupSelector, GroupTreeNode groupRoot, GroupTreeNode subtree, java.lang.String name)
subtree - The root node of the subtree that was modified (this node may
not be modified, it is just used as a convenience handle).public java.lang.String getUndoPresentationName()
getUndoPresentationName in interface javax.swing.undo.UndoableEditgetUndoPresentationName in class javax.swing.undo.AbstractUndoableEditpublic java.lang.String getRedoPresentationName()
getRedoPresentationName in interface javax.swing.undo.UndoableEditgetRedoPresentationName in class javax.swing.undo.AbstractUndoableEditpublic void undo()
undo in interface javax.swing.undo.UndoableEditundo in class javax.swing.undo.AbstractUndoableEditpublic void redo()
redo in interface javax.swing.undo.UndoableEditredo in class javax.swing.undo.AbstractUndoableEditpublic void setRevalidate(boolean revalidate)