public enum GuiColor extends java.lang.Enum<GuiColor>
Enum Constant and Description |
---|
BLACK |
BLUE |
CYAN |
GRAY |
GREEN |
LIGHTBLUE |
LIGHTGRAY |
LIME |
MAGENTA |
ORANGE |
PINK |
PURPLE |
RED |
TURQUISE |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static GuiColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GuiColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GuiColor BLACK
public static final GuiColor BLUE
public static final GuiColor GREEN
public static final GuiColor CYAN
public static final GuiColor RED
public static final GuiColor PURPLE
public static final GuiColor ORANGE
public static final GuiColor LIGHTGRAY
public static final GuiColor GRAY
public static final GuiColor LIGHTBLUE
public static final GuiColor LIME
public static final GuiColor TURQUISE
public static final GuiColor PINK
public static final GuiColor MAGENTA
public static final GuiColor YELLOW
public static final GuiColor WHITE
public static GuiColor[] values()
for (GuiColor c : GuiColor.values()) System.out.println(c);
public static GuiColor 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 toString()
toString
in class java.lang.Enum<GuiColor>