|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<LedButtonCouple.ButtonState> sky.monome.LedButtonCouple.ButtonState
public static enum LedButtonCouple.ButtonState
Button state.
Enum Constant Summary | |
---|---|
BUTTON_PUSHED
Denotes a pushed button. |
|
BUTTON_RELEASED
Denotes a released button. |
Method Summary | |
---|---|
static LedButtonCouple.ButtonState |
getButtonStateForButtonAction(ButtonEvent.ButtonAction buttonAction)
Returns the button state associated with the specified button action. |
static LedButtonCouple.ButtonState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LedButtonCouple.ButtonState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final LedButtonCouple.ButtonState BUTTON_PUSHED
public static final LedButtonCouple.ButtonState BUTTON_RELEASED
Method Detail |
---|
public static LedButtonCouple.ButtonState[] values()
for (LedButtonCouple.ButtonState c : LedButtonCouple.ButtonState.values()) System.out.println(c);
public static LedButtonCouple.ButtonState 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 name
java.lang.NullPointerException
- if the argument is nullpublic static LedButtonCouple.ButtonState getButtonStateForButtonAction(ButtonEvent.ButtonAction buttonAction)
buttonAction
- Button action to convert.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |