public enum ButtonEventMode extends Enum<ButtonEventMode>
SoftButtonCapabilities,
OnButtonEvent| Enum Constant and Description |
|---|
BUTTONDOWN
The button was depressed
|
BUTTONUP
The button was released
|
| Modifier and Type | Method and Description |
|---|---|
static ButtonEventMode |
valueForString(String value)
Returns a ButtonEventMode (BUTTONUP or BUTTONDOWN)
|
static ButtonEventMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonEventMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonEventMode BUTTONUP
public static final ButtonEventMode BUTTONDOWN
public static ButtonEventMode[] values()
for (ButtonEventMode c : ButtonEventMode.values()) System.out.println(c);
public static ButtonEventMode 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 static ButtonEventMode valueForString(String value)
value - a String