Modifier and Type | Field and Description |
---|---|
private TextFormatting |
format |
private int |
icon |
private java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static FrameType |
byName(java.lang.String nameIn) |
TextFormatting |
getFormat() |
int |
getIcon() |
java.lang.String |
getName() |
static FrameType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameType TASK
public static final FrameType CHALLENGE
public static final FrameType GOAL
private final java.lang.String name
private final int icon
private final TextFormatting format
public static FrameType[] values()
for (FrameType c : FrameType.values()) System.out.println(c);
public static FrameType 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 getName()
public static FrameType byName(java.lang.String nameIn)
public int getIcon()
public TextFormatting getFormat()