public enum KeyFunction extends Enum<KeyFunction>
| Enum Constant and Description |
|---|
Disabled |
RFIDInventory |
ScannerScan |
| Modifier and Type | Method and Description |
|---|---|
static KeyFunction |
fromValue(int code)
Returns the enum constant of this type with the specified code.
|
int |
getCode() |
String |
toString() |
static KeyFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyFunction Disabled
public static final KeyFunction ScannerScan
public static final KeyFunction RFIDInventory
public static KeyFunction[] values()
for (KeyFunction c : KeyFunction.values()) System.out.println(c);
public static KeyFunction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCode()
public String toString()
toString in class Enum<KeyFunction>public static KeyFunction fromValue(int code)
code - The code to check