|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DefaultFurnitureCatalog.PropertyKey>
com.eteks.sweethome3d.io.DefaultFurnitureCatalog.PropertyKey
public static enum DefaultFurnitureCatalog.PropertyKey
The keys of the properties values read in .properties
files.
Enum Constant Summary | |
---|---|
CATEGORY
The key for the category's name of a piece of furniture (mandatory). |
|
CREATOR
The key for the creator of a piece of furniture (optional). |
|
CURRENCY
The key for the currency ISO 4217 code of the price of a piece of furniture (optional). |
|
DEFORMABLE
The key for the deformability of a piece of furniture (optional, true by default). |
|
DEPTH
The key for the height in centimeters of a piece of furniture (mandatory). |
|
DESCRIPTION
The key for the description of a piece of furniture (optional). |
|
DOOR_OR_WINDOW
The key for the door or window type of a piece of furniture (mandatory). |
|
DOOR_OR_WINDOW_SASH_END_ANGLE
The key for the sash end angle(s) of a door or a window (mandatory if sash axis distance along X axis is defined). |
|
DOOR_OR_WINDOW_SASH_START_ANGLE
The key for the sash start angle(s) of a door or a window (mandatory if sash axis distance along X axis is defined). |
|
DOOR_OR_WINDOW_SASH_WIDTH
The key for the sash width(s) of a door or a window (mandatory if sash axis distance along X axis is defined). |
|
DOOR_OR_WINDOW_SASH_X_AXIS
The key for the sash axis distance(s) of a door or a window along X axis (optional). |
|
DOOR_OR_WINDOW_SASH_Y_AXIS
The key for the sash axis distance(s) of a door or a window along Y axis (mandatory if sash axis distance along X axis is defined). |
|
DOOR_OR_WINDOW_WALL_DISTANCE
The key for the distance in centimeters of a door or a window to its wall (optional). |
|
DOOR_OR_WINDOW_WALL_THICKNESS
The key for the wall thickness in centimeters of a door or a window (optional). |
|
ELEVATION
The key for the elevation in centimeters of a piece of furniture (optional). |
|
HEIGHT
The key for the height in centimeters of a piece of furniture (mandatory). |
|
ICON
The key for the icon file of a piece of furniture (mandatory). |
|
ID
The key for the ID of a piece of furniture (optional). |
|
LIGHT_SOURCE_COLOR
The key for the color(s) of light sources in a light (mandatory if light source abscissa is defined). |
|
LIGHT_SOURCE_DIAMETER
The key for the color(s) of light sources in a light (optional). |
|
LIGHT_SOURCE_X
The key for the abscissa(s) of light sources in a light (optional). |
|
LIGHT_SOURCE_Y
The key for the ordinate(s) of light sources in a light (mandatory if light source abscissa is defined). |
|
LIGHT_SOURCE_Z
The key for the elevation(s) of light sources in a light (mandatory if light source abscissa is defined). |
|
MODEL
The key for the 3D model file of a piece of furniture (mandatory). |
|
MODEL_ROTATION
The key for the transformation matrix values applied to a piece of furniture (optional). |
|
MOVABLE
The key for the movability of a piece of furniture (mandatory). |
|
MULTI_PART_MODEL
The key for a piece of furniture with multiple parts (optional). |
|
NAME
The key for the name of a piece of furniture (mandatory). |
|
PLAN_ICON
The key for the plan icon file of a piece of furniture (optional). |
|
PRICE
The key for the price of a piece of furniture (optional). |
|
RESIZABLE
The key for the resizability of a piece of furniture (optional, true by default). |
|
STAIRCASE_CUT_OUT_SHAPE
The key for the shape used to cut out upper levels when they intersect with a piece like a staircase (optional). |
|
TEXTURABLE
The key for the texturable capability of a piece of furniture (optional, true by default). |
|
VALUE_ADDED_TAX_PERCENTAGE
The key for the VAT percentage of a piece of furniture (optional). |
|
WIDTH
The key for the width in centimeters of a piece of furniture (mandatory). |
Method Summary | |
---|---|
java.lang.String |
getKey(int pieceIndex)
Returns the key for the piece property of the given index. |
static DefaultFurnitureCatalog.PropertyKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DefaultFurnitureCatalog.PropertyKey[] |
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 |
---|
public static final DefaultFurnitureCatalog.PropertyKey ID
public static final DefaultFurnitureCatalog.PropertyKey NAME
public static final DefaultFurnitureCatalog.PropertyKey DESCRIPTION
public static final DefaultFurnitureCatalog.PropertyKey CATEGORY
public static final DefaultFurnitureCatalog.PropertyKey ICON
public static final DefaultFurnitureCatalog.PropertyKey PLAN_ICON
public static final DefaultFurnitureCatalog.PropertyKey MODEL
public static final DefaultFurnitureCatalog.PropertyKey MULTI_PART_MODEL
true
, all the files
stored in the same directory as the 3D model file (MTL, texture files...)
will be considered as being necessary to view correctly the 3D model.
public static final DefaultFurnitureCatalog.PropertyKey WIDTH
public static final DefaultFurnitureCatalog.PropertyKey DEPTH
public static final DefaultFurnitureCatalog.PropertyKey HEIGHT
public static final DefaultFurnitureCatalog.PropertyKey MOVABLE
true
, the piece of furniture
will be considered as a movable piece.
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW
true
, the piece of furniture
will be considered as a door or a window.
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW_WALL_THICKNESS
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW_WALL_DISTANCE
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW_SASH_X_AXIS
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW_SASH_Y_AXIS
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW_SASH_WIDTH
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW_SASH_START_ANGLE
public static final DefaultFurnitureCatalog.PropertyKey DOOR_OR_WINDOW_SASH_END_ANGLE
public static final DefaultFurnitureCatalog.PropertyKey LIGHT_SOURCE_X
public static final DefaultFurnitureCatalog.PropertyKey LIGHT_SOURCE_Y
public static final DefaultFurnitureCatalog.PropertyKey LIGHT_SOURCE_Z
public static final DefaultFurnitureCatalog.PropertyKey LIGHT_SOURCE_COLOR
public static final DefaultFurnitureCatalog.PropertyKey LIGHT_SOURCE_DIAMETER
public static final DefaultFurnitureCatalog.PropertyKey STAIRCASE_CUT_OUT_SHAPE
public static final DefaultFurnitureCatalog.PropertyKey ELEVATION
public static final DefaultFurnitureCatalog.PropertyKey MODEL_ROTATION
public static final DefaultFurnitureCatalog.PropertyKey CREATOR
public static final DefaultFurnitureCatalog.PropertyKey RESIZABLE
true
by default).
If the value of this key is false
, the piece of furniture
will be considered as a piece with a fixed size.
public static final DefaultFurnitureCatalog.PropertyKey DEFORMABLE
true
by default).
If the value of this key is false
, the piece of furniture
will be considered as a piece that should always keep its proportions when resized.
public static final DefaultFurnitureCatalog.PropertyKey TEXTURABLE
true
by default).
If the value of this key is false
, the piece of furniture
will be considered as a piece that will always keep the same color or texture.
public static final DefaultFurnitureCatalog.PropertyKey PRICE
public static final DefaultFurnitureCatalog.PropertyKey VALUE_ADDED_TAX_PERCENTAGE
public static final DefaultFurnitureCatalog.PropertyKey CURRENCY
Method Detail |
---|
public static DefaultFurnitureCatalog.PropertyKey[] values()
for (DefaultFurnitureCatalog.PropertyKey c : DefaultFurnitureCatalog.PropertyKey.values()) System.out.println(c);
public static DefaultFurnitureCatalog.PropertyKey valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey(int pieceIndex)
|
Sweet Home 3D 3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
![]() |
? Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |