public static enum StKeyManager.ShortcutKey extends java.lang.Enum<StKeyManager.ShortcutKey>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getKeycode()
get the keycode of the specified shortcut key
|
boolean |
isExists()
whether current shortcut key exist
|
static StKeyManager.ShortcutKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StKeyManager.ShortcutKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StKeyManager.ShortcutKey Scan
public static final StKeyManager.ShortcutKey Rfid
public static final StKeyManager.ShortcutKey F1
public static final StKeyManager.ShortcutKey F2
public static StKeyManager.ShortcutKey[] values()
for (StKeyManager.ShortcutKey c : StKeyManager.ShortcutKey.values()) System.out.println(c);
public static StKeyManager.ShortcutKey valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isExists()
public java.lang.Integer getKeycode()