|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of the Command design pattern.
The CommandHolder interface allows the implementing class to have Command's added to it the execute them after a given circumstance.
Generally, a class that implements the CommandHolder interface initiates some sort of business logic that must be performed. A use case for example.
$Source: /cvsroot/spark/spark/source/java/net/sourceforge/spark/framework/CommandHolder.java,v $$Log: CommandHolder.java,v $ Revision 1.2 2005/07/24 04:03:28 afettes no message Revision 1.1 2005/07/24 03:55:32 afettes Initial commit to CVS.
Command
Method Summary | |
void |
addCommand(Command in_command)
Add a command to this widget to be executed. |
void |
removeCommand(Command in_command)
Remove a command from this Widget. |
Method Detail |
public void addCommand(Command in_command)
in_command
- The Command to add.public void removeCommand(Command in_command)
in_command
- The Command to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |