public static enum Material.Elements.Light extends java.lang.Enum<Material.Elements.Light> implements IColor
| Enum Constant and Description |
|---|
DISABLED_TEXT |
DIVIDER |
HINT_TEXT |
ICON |
SECONDARY_ICON |
SECONDARY_TEXT |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsColor() |
int |
getAsResource() |
java.lang.String |
getAsString() |
static Material.Elements.Light |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Material.Elements.Light[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Material.Elements.Light ICON
public static final Material.Elements.Light TEXT
public static final Material.Elements.Light SECONDARY_TEXT
public static final Material.Elements.Light SECONDARY_ICON
public static final Material.Elements.Light DISABLED_TEXT
public static final Material.Elements.Light HINT_TEXT
public static final Material.Elements.Light DIVIDER
public static Material.Elements.Light[] values()
for (Material.Elements.Light c : Material.Elements.Light.values()) System.out.println(c);
public static Material.Elements.Light 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 getAsString()
getAsString in interface IColorpublic int getAsColor()
getAsColor in interface IColorpublic int getAsResource()
getAsResource in interface IColor