|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.umd.cs.findbugs.L10N
public class L10N
| Method Summary | |
|---|---|
static java.lang.String |
getLocalString(java.lang.String key,
java.lang.String defaultString)
|
static void |
localiseButton(javax.swing.AbstractButton button,
java.lang.String key,
java.lang.String defaultString,
boolean setMnemonic)
Localise the given AbstractButton, setting the text and optionally mnemonic Note that AbstractButton includes menus and menu items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getLocalString(java.lang.String key,
java.lang.String defaultString)
public static void localiseButton(javax.swing.AbstractButton button,
java.lang.String key,
java.lang.String defaultString,
boolean setMnemonic)
button - The button to localisekey - The key to look up in resource bundledefaultString - default String to use if key not foundsetMnemonic - whether or not to set the mnemonic. According to Sun's
guidelines, default/cancel buttons should not have mnemonics
but instead should use Return/Escape
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||