Sweet Home 3D 3.4

com.eteks.sweethome3d.model
Enum HomePieceOfFurniture.Property

java.lang.Object
  extended by java.lang.Enum<HomePieceOfFurniture.Property>
      extended by com.eteks.sweethome3d.model.HomePieceOfFurniture.Property
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HomePieceOfFurniture.Property>
Enclosing class:
HomePieceOfFurniture

public static enum HomePieceOfFurniture.Property
extends java.lang.Enum<HomePieceOfFurniture.Property>

The properties of a piece of furniture that may change. PropertyChangeListeners added to a piece of furniture will be notified under a property name equal to the string value of one these properties.


Enum Constant Summary
ANGLE
           
COLOR
           
DEPTH
           
DESCRIPTION
           
ELEVATION
           
HEIGHT
           
LEVEL
           
MODEL_MIRRORED
           
MOVABLE
           
NAME
           
NAME_STYLE
           
NAME_VISIBLE
           
NAME_X_OFFSET
           
NAME_Y_OFFSET
           
SHININESS
           
TEXTURE
           
VISIBLE
           
WIDTH
           
X
           
Y
           
 
Method Summary
static HomePieceOfFurniture.Property valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HomePieceOfFurniture.Property[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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

DESCRIPTION

public static final HomePieceOfFurniture.Property DESCRIPTION

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

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
Method Detail

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Sweet Home 3D 3.4

? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License