com.eteks.sweethome3d.model
Enum Home.Property
java.lang.Object
java.lang.Enum<Home.Property>
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. PropertyChangeListener
s added
to a home will be notified under a property name equal to the name value of one these properties.
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. |
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
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