public enum KeypadType extends Enum<KeypadType>
Enum Constant and Description |
---|
AlphaNumericKeypad
Alphanumeric keys on the top row of the keyboard are used for transmitting digits
|
NumericKeypad
Keys on the numeric keypad are used for transmitting digits
|
Modifier and Type | Method and Description |
---|---|
static KeypadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeypadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeypadType AlphaNumericKeypad
public static final KeypadType NumericKeypad
public static KeypadType[] values()
for (KeypadType c : KeypadType.values()) System.out.println(c);
public static KeypadType 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 null