public static enum DefaultTexturesCatalog.PropertyKey extends java.lang.Enum<DefaultTexturesCatalog.PropertyKey>
.properties
files.Enum Constant and Description |
---|
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).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey(int textureIndex)
Returns the key for the texture 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.
|
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
.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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getKey(int textureIndex)
© Copyrights 2006-2014 eTeks - All rights reserved
Distributed under GNU General Public License