com.eteks.sweethome3d.model
Enum HomePieceOfFurniture.Property
java.lang.Object
java.lang.Enum<HomePieceOfFurniture.Property>
com.eteks.sweethome3d.model.HomePieceOfFurniture.Property
- All Implemented Interfaces:
- Serializable, Comparable<HomePieceOfFurniture.Property>
- Enclosing class:
- HomePieceOfFurniture
public static enum HomePieceOfFurniture.Property
- extends Enum<HomePieceOfFurniture.Property>
The properties of a piece of furniture that may change. PropertyChangeListener
s added
to a piece of furniture will be notified under a property name equal to the string value of one these properties.
NAME
public static final HomePieceOfFurniture.Property NAME
NAME_VISIBLE
public static final HomePieceOfFurniture.Property NAME_VISIBLE
NAME_X_OFFSET
public static final HomePieceOfFurniture.Property NAME_X_OFFSET
NAME_Y_OFFSET
public static final HomePieceOfFurniture.Property NAME_Y_OFFSET
NAME_STYLE
public static final HomePieceOfFurniture.Property NAME_STYLE
NAME_ANGLE
public static final HomePieceOfFurniture.Property NAME_ANGLE
DESCRIPTION
public static final HomePieceOfFurniture.Property DESCRIPTION
PRICE
public static final HomePieceOfFurniture.Property PRICE
WIDTH
public static final HomePieceOfFurniture.Property WIDTH
DEPTH
public static final HomePieceOfFurniture.Property DEPTH
HEIGHT
public static final HomePieceOfFurniture.Property HEIGHT
COLOR
public static final HomePieceOfFurniture.Property COLOR
TEXTURE
public static final HomePieceOfFurniture.Property TEXTURE
MODEL_MATERIALS
public static final HomePieceOfFurniture.Property MODEL_MATERIALS
SHININESS
public static final HomePieceOfFurniture.Property SHININESS
VISIBLE
public static final HomePieceOfFurniture.Property VISIBLE
X
public static final HomePieceOfFurniture.Property X
Y
public static final HomePieceOfFurniture.Property Y
ELEVATION
public static final HomePieceOfFurniture.Property ELEVATION
ANGLE
public static final HomePieceOfFurniture.Property ANGLE
MODEL_MIRRORED
public static final HomePieceOfFurniture.Property MODEL_MIRRORED
MOVABLE
public static final HomePieceOfFurniture.Property MOVABLE
LEVEL
public static final HomePieceOfFurniture.Property LEVEL
values
public static HomePieceOfFurniture.Property[] 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 (HomePieceOfFurniture.Property c : HomePieceOfFurniture.Property.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HomePieceOfFurniture.Property 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 name
NullPointerException
- if the argument is null