public static enum HomeLight.Property extends java.lang.Enum<HomeLight.Property>
PropertyChangeListener
s added
to a light will be notified under a property name equal to the string value of one these properties.Enum Constant and Description |
---|
LIGHT_SOURCE_MATERIAL_NAMES |
LIGHT_SOURCES |
POWER |
Modifier and Type | Method and Description |
---|---|
static HomeLight.Property |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HomeLight.Property[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HomeLight.Property POWER
public static final HomeLight.Property LIGHT_SOURCES
public static final HomeLight.Property LIGHT_SOURCE_MATERIAL_NAMES
public static HomeLight.Property[] values()
for (HomeLight.Property c : HomeLight.Property.values()) System.out.println(c);
public static HomeLight.Property 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 namejava.lang.NullPointerException
- if the argument is null
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License