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.UndoableEdit
getUndoPresentationName
in class javax.swing.undo.AbstractUndoableEdit
public java.lang.String getRedoPresentationName()
getRedoPresentationName
in interface javax.swing.undo.UndoableEdit
getRedoPresentationName
in class javax.swing.undo.AbstractUndoableEdit
public void undo()
undo
in interface javax.swing.undo.UndoableEdit
undo
in class javax.swing.undo.AbstractUndoableEdit
public void redo()
redo
in interface javax.swing.undo.UndoableEdit
redo
in class javax.swing.undo.AbstractUndoableEdit
public void setRevalidate(boolean revalidate)