public class KeyHandler
extends java.lang.Object
Constructor and Description |
---|
KeyHandler() |
Modifier and Type | Method and Description |
---|---|
static javax.swing.KeyStroke |
getKeyStroke(java.lang.String keyString)
Returns the keystroke for the string.
|
static java.lang.String |
getMnemonic(java.lang.String label)
Returns the mnemonic from a label
|
static java.lang.String |
removeMnemonicIndicator(java.lang.String label)
Returns the label with the mnemonic indicator (&)
|
public static java.lang.String getMnemonic(java.lang.String label)
label
- The labelpublic static java.lang.String removeMnemonicIndicator(java.lang.String label)
label
- The labelpublic static javax.swing.KeyStroke getKeyStroke(java.lang.String keyString)
keyString
- the Key string