|
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<DefaultTexturesCatalog.PropertyKey>
com.eteks.sweethome3d.io.DefaultTexturesCatalog.PropertyKey
public static enum DefaultTexturesCatalog.PropertyKey
The keys of the properties values read in .properties
files.
Enum Constant Summary | |
---|---|
CATEGORY
The key for the category's name of a texture (mandatory). |
|
CREATOR
The key for the creator of a texture (optional). |
|
HEIGHT
The key for the height in centimeters of a texture (mandatory). |
|
ID
The key for the ID of a texture (optional). |
|
IMAGE
The key for the image file of a texture (mandatory). |
|
NAME
The key for the name of a texture (mandatory). |
|
WIDTH
The key for the width in centimeters of a texture (mandatory). |
Method Summary | |
---|---|
java.lang.String |
getKey(int textureIndex)
Returns the key for the piece property of the given index. |
static DefaultTexturesCatalog.PropertyKey |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DefaultTexturesCatalog.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 DefaultTexturesCatalog.PropertyKey ID
public static final DefaultTexturesCatalog.PropertyKey NAME
public static final DefaultTexturesCatalog.PropertyKey CATEGORY
public static final DefaultTexturesCatalog.PropertyKey IMAGE
public static final DefaultTexturesCatalog.PropertyKey WIDTH
public static final DefaultTexturesCatalog.PropertyKey HEIGHT
public static final DefaultTexturesCatalog.PropertyKey CREATOR
null
.
Method Detail |
---|
public static DefaultTexturesCatalog.PropertyKey[] values()
for (DefaultTexturesCatalog.PropertyKey c : DefaultTexturesCatalog.PropertyKey.values()) System.out.println(c);
public static DefaultTexturesCatalog.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 textureIndex)
|
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 |