|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.commands.AbstractCommandAdapter
An abstract CommandAdapter implementation.
| Constructor Summary | |
AbstractCommandAdapter()
Creates a new AbstractCommandAdapter. |
|
AbstractCommandAdapter(java.lang.String name)
Creates a new AbstractCommandAdapter. |
|
| Method Summary | |
protected void |
executeCommand()
Executes the adapted command. |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sdm.quasar.client.core.common.Disposable |
dispose |
| Constructor Detail |
public AbstractCommandAdapter()
AbstractCommandAdapter.
public AbstractCommandAdapter(java.lang.String name)
AbstractCommandAdapter.
name - the name to set| Method Detail |
public java.lang.String getName()
CommandAdapterCommandAdapter.
getName in interface CommandAdapterCommandAdapter (never null)BooleanStateAdapter.getName()public void setName(java.lang.String name)
CommandAdapterCommandAdapter.
setName in interface CommandAdaptername - the name of the CommandAdapter (not null)BooleanStateAdapter.setName(java.lang.String)public Command getCommand()
getCommand in interface CommandAdapterCommand to adapt, or null, if currently
no Command is adapted.CommandAdapter.getCommand()public void setCommand(Command command)
CommandAdaptercommand==null) the Command this
adapter adapts.
setCommand in interface CommandAdaptercommand - the Command we act upon or nullCommandAdapter.setCommand(com.sdm.quasar.client.core.commands.Command)protected final void executeCommand()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||