Sweet Home 3D 4.0

com.eteks.sweethome3d.model
Enum Home.Property

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

public static enum Home.Property
extends Enum<Home.Property>

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


Enum Constant Summary
BACKGROUND_IMAGE
           
BASE_PLAN_LOCKED
           
CAMERA
           
FURNITURE_DESCENDING_SORTED
           
FURNITURE_SORTED_PROPERTY
           
FURNITURE_VISIBLE_PROPERTIES
           
MODIFIED
           
NAME
           
PRINT
           
RECOVERED
           
SELECTED_LEVEL
           
STORED_CAMERAS
           
 
Method Summary
static Home.Property valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Home.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 Home.Property NAME

MODIFIED

public static final Home.Property MODIFIED

FURNITURE_SORTED_PROPERTY

public static final Home.Property FURNITURE_SORTED_PROPERTY

FURNITURE_DESCENDING_SORTED

public static final Home.Property FURNITURE_DESCENDING_SORTED

FURNITURE_VISIBLE_PROPERTIES

public static final Home.Property FURNITURE_VISIBLE_PROPERTIES

BACKGROUND_IMAGE

public static final Home.Property BACKGROUND_IMAGE

CAMERA

public static final Home.Property CAMERA

PRINT

public static final Home.Property PRINT

BASE_PLAN_LOCKED

public static final Home.Property BASE_PLAN_LOCKED

STORED_CAMERAS

public static final Home.Property STORED_CAMERAS

RECOVERED

public static final Home.Property RECOVERED

SELECTED_LEVEL

public static final Home.Property SELECTED_LEVEL
Method Detail

values

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

Sweet Home 3D 4.0

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License