|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Command
A generic Command, designed as an encapsulated action that can be reversed in proper context. That is, if objects affected by the command are not altered after the command is executed, the command may be reversed using the undo() method. However, if the objects affected by the command are altered after the command is executed, an undo() call may have unexpected results.
| Method Summary | |
|---|---|
java.lang.Object |
doAction()
Performs the action. |
java.lang.Object |
undoAction()
Unperforms the action. |
| Method Detail |
|---|
java.lang.Object doAction()
java.lang.Object undoAction()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||