Serializable, Comparable<DimmerSwitchAction>public enum DimmerSwitchAction extends Enum<DimmerSwitchAction>
| Enum Constant | Description |
|---|---|
HOLD |
|
INITIAL_PRESS |
|
LONG_RELEASED |
|
SHORT_RELEASED |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getEventCode() |
|
static DimmerSwitchAction |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DimmerSwitchAction[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DimmerSwitchAction INITIAL_PRESS
public static final DimmerSwitchAction HOLD
public static final DimmerSwitchAction SHORT_RELEASED
public static final DimmerSwitchAction LONG_RELEASED
public static DimmerSwitchAction[] values()
for (DimmerSwitchAction c : DimmerSwitchAction.values()) System.out.println(c);
public static DimmerSwitchAction 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 getEventCode()
Copyright © 2019. All rights reserved.