org.apache.batik.apps.svgbrowser
public abstract class AbstractCompoundCommand extends AbstractUndoableCommand
Field Summary | |
---|---|
protected ArrayList | atomCommands
The atom UndoableCommand command list. |
Constructor Summary | |
---|---|
AbstractCompoundCommand()
Constructor. |
Method Summary | |
---|---|
void | addCommand(UndoableCommand command)
Adds the given command to the atomCommand list.
|
void | execute() |
int | getCommandNumber()
Returns the command number that this compound command contains.
|
void | redo() |
boolean | shouldExecute() |
void | undo() |
Parameters: command The given command
Returns: The atom command number