public static enum TagDefinition.TypeTags extends java.lang.Enum<TagDefinition.TypeTags>
Modifier and Type | Method and Description |
---|---|
static TagDefinition.TypeTags |
getValue(java.lang.String key)
Returns predefined constant of element according to the element name.
|
static TagDefinition.TypeTags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TagDefinition.TypeTags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagDefinition.TypeTags COLOR
public static final TagDefinition.TypeTags UNIT
public static final TagDefinition.TypeTags FONT
public static final TagDefinition.TypeTags NULL
public static TagDefinition.TypeTags[] values()
for (TagDefinition.TypeTags c : TagDefinition.TypeTags.values()) System.out.println(c);
public static TagDefinition.TypeTags 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 TagDefinition.TypeTags getValue(java.lang.String key)
key
- the name of element.