public final class CompositeCommand extends DisposableCommand
Command instances as a single operation. Undoing or redoing
the composite action, respectively undoes or redoes all its constituent subactions at the same time.| Modifier and Type | Method and Description |
|---|---|
protected boolean |
execute()
Carries out an action that changes the workbook in some way.
|
java.util.List<Command> |
getCommands()
Gets a list containing the child
Command objects. |
protected void |
redo()
Repeats an action that has been undone.
|
protected void |
undo()
Undoes an action, restoring the workbook to the state it was in before carrying out the action.
|
cancel, disposegetHasEffect, getWorkbookprotected boolean execute()
execute in class DisposableCommandprotected void undo()
undo in class DisposableCommandprotected void redo()
redo in class DisposableCommand