|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for adapter classes that adapt something to execute a command.
| Method Summary | |
Command |
getCommand()
|
java.lang.String |
getName()
Return the name of the CommandAdapter. |
void |
setCommand(Command command)
Sets (or resets if command==null) the Command this
adapter adapts. |
void |
setName(java.lang.String name)
Set the name of the CommandAdapter. |
| Method Detail |
public java.lang.String getName()
CommandAdapter.
CommandAdapter (never null)public void setName(java.lang.String name)
CommandAdapter.
name - the name of the CommandAdapter (not null)
java.lang.IllegalArgumentException - if name is nullpublic Command getCommand()
Command to adapt, or null, if currently
no Command is adapted.public void setCommand(Command command)
command==null) the Command this
adapter adapts.
command - the Command we act upon or null
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||