public static enum Material.Elements.Dark extends java.lang.Enum<Material.Elements.Dark> 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.Dark |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Material.Elements.Dark[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Material.Elements.Dark ICON
public static final Material.Elements.Dark TEXT
public static final Material.Elements.Dark SECONDARY_TEXT
public static final Material.Elements.Dark SECONDARY_ICON
public static final Material.Elements.Dark DISABLED_TEXT
public static final Material.Elements.Dark HINT_TEXT
public static final Material.Elements.Dark DIVIDER
public static Material.Elements.Dark[] values()
for (Material.Elements.Dark c : Material.Elements.Dark.values()) System.out.println(c);
public static Material.Elements.Dark 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