|
|||||||||||
| 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.SwitchLanguageCommand
This Command switches the application language.
| Constructor Summary | |
SwitchLanguageCommand(ApplicationFrame applicationFrame,
java.lang.String id,
java.util.Locale locale,
boolean enabled)
Creates SwitchLanguageCommand. |
|
| Method Summary | |
void |
perform(java.lang.Object args)
Updates the StatusBar with this commands title string. |
| 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 SwitchLanguageCommand(ApplicationFrame applicationFrame,
java.lang.String id,
java.util.Locale locale,
boolean enabled)
SwitchLanguageCommand. This command will switch
the language specified by the parameter Locale. By passing a boolean you
can decide whether this command should be initially en-/disabled.
applicationFrame - Application context for this command.id - the ID of this command.locale - the Locale to switch to.enabled - boolean flag to indicate state.| Method Detail |
public void perform(java.lang.Object args)
CommonBaseCommand
perform in interface Commandperform in class CommonBaseCommandCommand.perform(java.lang.Object)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||