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