Package io.keikai.ui.impl.undo
Class AggregatedAction
java.lang.Object
io.keikai.ui.impl.undo.AggregatedAction
- All Implemented Interfaces:
UndoableAction,Serializable
- Author:
- dennis
- See Also:
-
Constructor Details
-
AggregatedAction
-
-
Method Details
-
getLabel
- Specified by:
getLabelin interfaceUndoableAction- Returns:
- the label of this action
-
doAction
public void doAction()Description copied from interface:UndoableActiondo the action, either first time or redo- Specified by:
doActionin interfaceUndoableAction
-
isUndoable
public boolean isUndoable()Description copied from interface:UndoableActionCheck if still undoable or not- Specified by:
isUndoablein interfaceUndoableAction- Returns:
-
isRedoable
public boolean isRedoable()Description copied from interface:UndoableActionCheck if still redoable or not- Specified by:
isRedoablein interfaceUndoableAction- Returns:
-
undoAction
public void undoAction()Description copied from interface:UndoableActionUndo the action- Specified by:
undoActionin interfaceUndoableAction
-
getUndoSelection
- Specified by:
getUndoSelectionin interfaceUndoableAction- Returns:
- Selection after undo of this action, null if doesn't provided;
-
getRedoSelection
- Specified by:
getRedoSelectionin interfaceUndoableAction- Returns:
- Selection after redo of this action, null if doesn't provided;
-
getUndoSheet
- Specified by:
getUndoSheetin interfaceUndoableAction- Returns:
- target sheet of undo action, null if doesn't provided
-
getRedoSheet
- Specified by:
getRedoSheetin interfaceUndoableAction- Returns:
- target sheet of redo action, null if doesn't provided
-