public class AggregatedAction extends Object implements UndoableAction, Serializable
| Constructor and Description |
|---|
AggregatedAction(String label,
UndoableAction[] actions) |
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
do the action, either first time or redo
|
String |
getLabel() |
AreaRef |
getRedoSelection() |
Sheet |
getRedoSheet() |
AreaRef |
getUndoSelection() |
Sheet |
getUndoSheet() |
boolean |
isRedoable()
Check if still redoable or not
|
boolean |
isUndoable()
Check if still undoable or not
|
void |
undoAction()
Undo the action
|
public AggregatedAction(String label, UndoableAction[] actions)
public String getLabel()
getLabel in interface UndoableActionpublic void doAction()
UndoableActiondoAction in interface UndoableActionpublic boolean isUndoable()
UndoableActionisUndoable in interface UndoableActionpublic boolean isRedoable()
UndoableActionisRedoable in interface UndoableActionpublic void undoAction()
UndoableActionundoAction in interface UndoableActionpublic AreaRef getUndoSelection()
getUndoSelection in interface UndoableActionpublic AreaRef getRedoSelection()
getRedoSelection in interface UndoableActionpublic Sheet getUndoSheet()
getUndoSheet in interface UndoableActionpublic Sheet getRedoSheet()
getRedoSheet in interface UndoableActionCopyright © 2020. All rights reserved.