public static class MultiBeanInfo.StaticValueSetUndoAction extends java.lang.Object implements UndoManager.UndoAction
Constructor and Description |
---|
StaticValueSetUndoAction(javax.swing.JComponent component,
java.lang.Object oldValue,
java.lang.Object newValue,
java.beans.FeatureDescriptor fd) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
This function executes (redoes) the action
|
java.lang.String |
getDescription()
The description of the action will be used to determine grouping equality as well as for display purposes.
|
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.
|
boolean |
undo()
This function will reverse the action
|
public StaticValueSetUndoAction(javax.swing.JComponent component, java.lang.Object oldValue, java.lang.Object newValue, java.beans.FeatureDescriptor fd)
public java.lang.String getDescription()
UndoManager.UndoAction
getDescription
in interface UndoManager.UndoAction
public boolean undo()
UndoManager.UndoAction
undo
in interface UndoManager.UndoAction
public boolean execute()
UndoManager.UndoAction
execute
in interface UndoManager.UndoAction
public boolean isGroupSequenceIndependent()
UndoManager.UndoAction
isGroupSequenceIndependent
in interface UndoManager.UndoAction