|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Command
Command encapsulates a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations. Commands are an object oriented replacement for callbacks.
For more detailed documentation, refer to the
Command Design Pattern
.
See also: Command pattern in
Design Patterns: Elements of Reusable Object-Oriented Software
.
CommandInvoker
Method Summary | |
---|---|
void |
execute()
Executes the callback command on the receiver. |
Method Detail |
---|
void execute()
execute
method, but not of the details where the actual
command is executed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |