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 UndoableAction
public void doAction()
UndoableAction
doAction
in interface UndoableAction
public boolean isUndoable()
UndoableAction
isUndoable
in interface UndoableAction
public boolean isRedoable()
UndoableAction
isRedoable
in interface UndoableAction
public void undoAction()
UndoableAction
undoAction
in interface UndoableAction
public AreaRef getUndoSelection()
getUndoSelection
in interface UndoableAction
public AreaRef getRedoSelection()
getRedoSelection
in interface UndoableAction
public Sheet getUndoSheet()
getUndoSheet
in interface UndoableAction
public Sheet getRedoSheet()
getRedoSheet
in interface UndoableAction
Copyright © 2020. All rights reserved.