Sweet Home 3D 3.4

com.eteks.sweethome3d.model
Enum Room.Property

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

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

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


Enum Constant Summary
AREA_STYLE
           
AREA_VISIBLE
           
AREA_X_OFFSET
           
AREA_Y_OFFSET
           
CEILING_COLOR
           
CEILING_SHININESS
           
CEILING_TEXTURE
           
CEILING_VISIBLE
           
FLOOR_COLOR
           
FLOOR_SHININESS
           
FLOOR_TEXTURE
           
FLOOR_VISIBLE
           
LEVEL
           
NAME
           
NAME_STYLE
           
NAME_X_OFFSET
           
NAME_Y_OFFSET
           
POINTS
           
 
Method Summary
static Room.Property valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Room.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 Room.Property NAME

NAME_X_OFFSET

public static final Room.Property NAME_X_OFFSET

NAME_Y_OFFSET

public static final Room.Property NAME_Y_OFFSET

NAME_STYLE

public static final Room.Property NAME_STYLE

POINTS

public static final Room.Property POINTS

AREA_VISIBLE

public static final Room.Property AREA_VISIBLE

AREA_X_OFFSET

public static final Room.Property AREA_X_OFFSET

AREA_Y_OFFSET

public static final Room.Property AREA_Y_OFFSET

AREA_STYLE

public static final Room.Property AREA_STYLE

FLOOR_COLOR

public static final Room.Property FLOOR_COLOR

FLOOR_TEXTURE

public static final Room.Property FLOOR_TEXTURE

FLOOR_VISIBLE

public static final Room.Property FLOOR_VISIBLE

FLOOR_SHININESS

public static final Room.Property FLOOR_SHININESS

CEILING_COLOR

public static final Room.Property CEILING_COLOR

CEILING_TEXTURE

public static final Room.Property CEILING_TEXTURE

CEILING_VISIBLE

public static final Room.Property CEILING_VISIBLE

CEILING_SHININESS

public static final Room.Property CEILING_SHININESS

LEVEL

public static final Room.Property LEVEL
Method Detail

values

public static Room.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 (Room.Property c : Room.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 Room.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