public class KeyMapping extends Object
| Constructor and Description |
|---|
KeyMapping() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getKey(char a)
Obtiene dado un caracter el entero correspondiente al codigo que tiene
la tecla que produce dicho caracter
|
static KeyStroke |
getKeyStroke(String accelerator) |
public static int getKey(char a)
a - caracterRuntimeException - Si el caracter no tiene una tecla asociada