|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.gui.util.TranslatorManager
com.retek.commons.gui.util.MnemonicTranslator
This class handles the translation of keys (indicating components in the application) and the mnemonic ALT-Keystroke associated to that key.
Retek Inc. Copyright (c) 2002
Field Summary | |
---|---|
static java.lang.String |
APPLICATION_VIEW_CONCEPT
|
Fields inherited from class com.retek.commons.gui.util.TranslatorManager |
---|
EMPTY |
Constructor Summary | |
---|---|
MnemonicTranslator()
Returns new MnemonicManager object. |
|
MnemonicTranslator(java.util.Locale locale,
java.lang.String filename)
Returns new MnemonicManager object. |
|
MnemonicTranslator(java.lang.String filename)
Returns new MnemonicManager object. |
Method Summary | |
---|---|
char |
getMnemonic(java.lang.String key)
Retrieves the mnemonic character for the key. |
Methods inherited from class com.retek.commons.gui.util.TranslatorManager |
---|
getBundle, getLocale, setBundle, setLocale, setLocale |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String APPLICATION_VIEW_CONCEPT
Constructor Detail |
public MnemonicTranslator()
public MnemonicTranslator(java.lang.String filename) throws UiBundleException
filename
- The filename of the properties file with mnemonic properties.
UiBundleException
- Thrown if the method fails to load the properties file.public MnemonicTranslator(java.util.Locale locale, java.lang.String filename) throws UiBundleException
locale
- The Locale to load the mnemonic translation for.filename
- The filename of the properties file with mnemonic properties.
UiBundleException
- Thrown if the method fails to load the properties file.Method Detail |
public char getMnemonic(java.lang.String key)
key
- The key to translate into a mnemonic.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |