public class ClientKeyStrokeUtil extends Object
| Constructor and Description |
|---|
ClientKeyStrokeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static KeyStroke |
getAltKeyStroke(String text)
Retorna o key-stroke com alt.
|
static KeyStroke |
getCtrlAltKeyStroke(String text)
Retorna o key-stroke com ctrl.
|
static KeyStroke |
getCtrlKeyStroke(String text)
Retorna o key-stroke com ctrl.
|
static int |
getKey(String text)
Pega uma tecla com base no texto (primeiro caracter)
|
public static int getKey(String text)
text - o textopublic static KeyStroke getCtrlAltKeyStroke(String text)
text - o textopublic static KeyStroke getCtrlKeyStroke(String text)
text - o textoCopyright © 2017. All rights reserved.