Interface UndoManager.UndoAction
- 
- All Known Implementing Classes:
- AbstractLayoutTool.ZOrderChangeUndoAction,- AbstractResourceUndoAction,- AbstractUndoAction,- ComponentMoveResizeUndoAction,- DynamicPropertyEditUndoAction,- MultiBeanInfo.StaticValueSetUndoAction,- PropertyBindingUndoAction,- ResourceDeleteAction,- ResourcePasteAction,- UndoAddBlock,- UndoAddComponents,- UndoAddConnection,- UndoAddElement,- UndoConvertToContainer,- UndoDeleteBlock,- UndoDeleteComponents,- UndoDeleteConnection,- UndoDeleteElement,- UndoEventConfigChange,- UndoGroup,- UndoMoveBlocks,- UndoMoveElements,- UndoPagesConfig,- UndoPosition,- UndoPropConfigChange,- UndoRemoveProperty,- UndoRenameProperty,- UndoReorderChildren,- UndoReplace,- UndoRotation,- UndoScriptConfigChange,- UndoUngroup,- UndoWrapComponent,- UndoWriteProperty,- WindowResizeUndoAction
 - Enclosing class:
- UndoManager
 
 public static interface UndoManager.UndoAction
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexecute()This function executes (redoes) the actionjava.lang.StringgetDescription()The description of the action will be used to determine grouping equality as well as for display purposes.booleanisGroupSequenceIndependent()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.booleanundo()This function will reverse the action
 
- 
- 
- 
Method Detail- 
getDescriptionjava.lang.String getDescription() The description of the action will be used to determine grouping equality as well as for display purposes.
 - 
undoboolean undo() This function will reverse the action- Returns:
- false if the undo failed
 
 - 
executeboolean execute() This function executes (redoes) the action- Returns:
- false if the execution failed
 
 - 
isGroupSequenceIndependentboolean 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.
 
- 
 
-