Package org.openwebnet4j.message
Enum Lighting.WHAT
- java.lang.Object
-
- java.lang.Enum<Lighting.WHAT>
-
- org.openwebnet4j.message.Lighting.WHAT
-
- All Implemented Interfaces:
Serializable
,Comparable<Lighting.WHAT>
,What
- Enclosing class:
- Lighting
public static enum Lighting.WHAT extends Enum<Lighting.WHAT> implements What
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIMMER_LEVEL_10
DIMMER_LEVEL_2
DIMMER_LEVEL_3
DIMMER_LEVEL_4
DIMMER_LEVEL_5
DIMMER_LEVEL_6
DIMMER_LEVEL_7
DIMMER_LEVEL_8
DIMMER_LEVEL_9
DIMMER_LEVEL_DOWN
DIMMER_LEVEL_UP
DIMMER_TOGGLE
END_MOVEMENT_DETECTED
MOVEMENT_DETECTED
OFF
ON
-
Field Summary
-
Fields inherited from interface org.openwebnet4j.message.What
WHAT_COMMAND_TRANSLATION
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Lighting.WHAT
fromValue(int i)
Integer
value()
static Lighting.WHAT
valueOf(String name)
Returns the enum constant of this type with the specified name.static Lighting.WHAT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final Lighting.WHAT OFF
-
ON
public static final Lighting.WHAT ON
-
DIMMER_LEVEL_2
public static final Lighting.WHAT DIMMER_LEVEL_2
-
DIMMER_LEVEL_3
public static final Lighting.WHAT DIMMER_LEVEL_3
-
DIMMER_LEVEL_4
public static final Lighting.WHAT DIMMER_LEVEL_4
-
DIMMER_LEVEL_5
public static final Lighting.WHAT DIMMER_LEVEL_5
-
DIMMER_LEVEL_6
public static final Lighting.WHAT DIMMER_LEVEL_6
-
DIMMER_LEVEL_7
public static final Lighting.WHAT DIMMER_LEVEL_7
-
DIMMER_LEVEL_8
public static final Lighting.WHAT DIMMER_LEVEL_8
-
DIMMER_LEVEL_9
public static final Lighting.WHAT DIMMER_LEVEL_9
-
DIMMER_LEVEL_10
public static final Lighting.WHAT DIMMER_LEVEL_10
-
DIMMER_LEVEL_UP
public static final Lighting.WHAT DIMMER_LEVEL_UP
-
DIMMER_LEVEL_DOWN
public static final Lighting.WHAT DIMMER_LEVEL_DOWN
-
DIMMER_TOGGLE
public static final Lighting.WHAT DIMMER_TOGGLE
-
MOVEMENT_DETECTED
public static final Lighting.WHAT MOVEMENT_DETECTED
-
END_MOVEMENT_DETECTED
public static final Lighting.WHAT END_MOVEMENT_DETECTED
-
-
Method Detail
-
values
public static Lighting.WHAT[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Lighting.WHAT c : Lighting.WHAT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Lighting.WHAT valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
public static Lighting.WHAT fromValue(int i)
-
-