public static enum Property.Type extends java.lang.Enum<Property.Type>
Enum Constant and Description |
---|
BOOLEAN |
COLOR |
DOUBLE |
INTEGER |
MOD_ID |
STRING |
Modifier and Type | Method and Description |
---|---|
char |
getID() |
static Property.Type |
tryParse(char id) |
static Property.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Property.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Property.Type STRING
public static final Property.Type INTEGER
public static final Property.Type BOOLEAN
public static final Property.Type DOUBLE
public static final Property.Type COLOR
public static final Property.Type MOD_ID
public static Property.Type[] values()
for (Property.Type c : Property.Type.values()) System.out.println(c);
public static Property.Type 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 static Property.Type tryParse(char id)
public char getID()