public enum ButtonNumber extends java.lang.Enum<ButtonNumber>
Enum Constant and Description |
---|
ACTION_BUTTON |
BACK_BUTTON |
NEXT_BUTTON |
Modifier and Type | Method and Description |
---|---|
static ButtonNumber |
getButtonNumber(byte param) |
byte |
getValue() |
static ButtonNumber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ButtonNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonNumber ACTION_BUTTON
public static final ButtonNumber BACK_BUTTON
public static final ButtonNumber NEXT_BUTTON
public static ButtonNumber[] values()
for (ButtonNumber c : ButtonNumber.values()) System.out.println(c);
public static ButtonNumber 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 byte getValue()
public static ButtonNumber getButtonNumber(byte param) throws ErrorParameterException
ErrorParameterException