| Constructor and Description |
|---|
CompositeCommand(Schedule schedule)
Initializes a new instance of the
CompositeCommand class. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
execute()
Command.execute() override. |
ExtendedArrayList<Command> |
getCommands()
Gets a list containing the child
Command objects. |
protected void |
redo()
Command.redo() override. |
protected void |
undo()
Command.undo() override. |
getSchedulepublic CompositeCommand(Schedule schedule)
CompositeCommand class.schedule - The Schedule modified by this command.protected boolean execute()
Command.execute() override.protected void undo()
Command.undo() override.protected void redo()
Command.redo() override.public ExtendedArrayList<Command> getCommands()
Command objects.Command objects.