public static java.lang.String addSingleByteCharsForMnemonics(java.lang.String menuLabel)
Ensures the string passed in contains single-byte characters that
can be used for mnemonics. This only appends the single-byte characters
if the language is Chinese, Japanese, or Korean; otherwise it just passes
back what was input.
Parameters:
the - string to be used for a menu label
Returns:
the string for the menu label with single-byte characters added so that
the MnemonicSolver can determine a mnemonic to use.
getCJKMenuLabel
public static java.lang.String getCJKMenuLabel(java.lang.String label,
java.lang.Integer mnemonic)
Ensures the label used for the menu is correct in
Chinese/Japanese/Korean. In these languages the menu mnemonic
should be in the form of
getCJKMenuLabel
public static java.lang.String getCJKMenuLabel(java.lang.String label,
int key)