|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandExecutor
Executes a given command and keeps it in the history stack.
Method Summary | |
---|---|
void |
execute(Command command)
Executes the given command. |
void |
undo()
Undoes all commands that have been executed up to now (does not include already undoed commands). |
Method Detail |
---|
void execute(Command command)
command
- the command that is to be executed.void undo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |