public abstract class AbstractUndoAction extends java.lang.Object implements UndoManager.UndoAction
Constructor and Description |
---|
AbstractUndoAction(java.lang.String resourceKey) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
The description of the action will be used to determine grouping equality as well as for display purposes.
|
protected java.lang.Object[] |
getDescriptionArgs() |
boolean |
isGroupSequenceIndependent()
This function should return true if a group of these actions can be undone by ONLY calling undo() on the
first action in the group, and redone by ONLY calling execute() on the last action in the group.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, undo
public java.lang.String getDescription()
UndoManager.UndoAction
getDescription
in interface UndoManager.UndoAction
protected java.lang.Object[] getDescriptionArgs()
public boolean isGroupSequenceIndependent()
UndoManager.UndoAction
isGroupSequenceIndependent
in interface UndoManager.UndoAction