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