|
|||||||||||
| 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
com.tensegrity.skeleton.commands.AboutCommand
Opens an instance of class AboutDialog.
| Constructor Summary | |
AboutCommand(ApplicationFrame applicationFrame,
java.lang.String command)
Creates a new AboutCommand. |
|
| Method Summary | |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string. |
void |
setDescriptionKey(java.lang.String descriptionKey)
Sets a custom description to display in the base dialog description area. |
void |
setImageResource(java.lang.Class resourceClass,
java.lang.String imageUrl)
Set a custom image to be displayed in the about box of your application. |
void |
setTitleKey(java.lang.String titleKey)
Sets a custom title to display in the base dialog. |
| Methods inherited from class com.tensegrity.skeleton.commands.CommonBaseCommand |
getApplicationFrame, getTitle |
| 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 AboutCommand(ApplicationFrame applicationFrame,
java.lang.String command)
applicationFrame - Application context for this command.command - a GUI Resource id for the command.| Method Detail |
public void perform(java.lang.Object args)
CommonBaseCommand
perform in interface Commandperform in class CommonBaseCommandCommand.perform(java.lang.Object)
public final void setImageResource(java.lang.Class resourceClass,
java.lang.String imageUrl)
resourceClass - the recourcClass the imageUrl is relative to.imageUrl - the location of your image.public final void setTitleKey(java.lang.String titleKey)
titleKey - the ui-manager key for the title to show.public final void setDescriptionKey(java.lang.String descriptionKey)
descriptionKey - the ui-manager key for the description to show.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||