|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.generic.command.BaseCommand
com.tensegrity.skeleton.commands.CommonBaseCommand
This BaseCommand derived class is responsible for setting
the StatusBar message with the appropriate text.
| Constructor Summary | |
CommonBaseCommand(ApplicationFrame applicationFrame,
java.lang.String command)
Constructor specifying the ApplicationFrame to use and a
unique id for this Command. |
|
| Method Summary | |
ApplicationFrame |
getApplicationFrame()
Returns an instance of ApplicationFrame. |
java.lang.String |
getTitle()
If the internal id is not null, this method returns a
String holding the id from UIManager,
otherwise the perform description of the superclass is returned. |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string. |
| Methods inherited from class com.tensegrity.generic.command.BaseCommand |
getDescription, getId, getPerformDescription, isEnabled, setEnabled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommonBaseCommand(ApplicationFrame applicationFrame,
java.lang.String command)
ApplicationFrame to use and a
unique id for this Command.
applicationFrame - Application context for this command.command - the ID of this command.| Method Detail |
public void perform(java.lang.Object args)
args - optional parameter for this commandCommand.perform(java.lang.Object)public java.lang.String getTitle()
null, this method returns a
String holding the id from UIManager,
otherwise the perform description of the superclass is returned.
BaseCommand.getPerformDescription()public ApplicationFrame getApplicationFrame()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||