public static enum Material.Red extends java.lang.Enum<Material.Red> implements IColor
| Enum Constant and Description |
|---|
_100 |
_200 |
_300 |
_400 |
_50 |
_500 |
_600 |
_700 |
_800 |
_900 |
_A100 |
_A200 |
_A400 |
_A700 |
| Modifier and Type | Method and Description |
|---|---|
int |
getAsColor() |
int |
getAsResource() |
java.lang.String |
getAsString() |
static Material.Red |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Material.Red[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Material.Red _50
public static final Material.Red _100
public static final Material.Red _200
public static final Material.Red _300
public static final Material.Red _400
public static final Material.Red _500
public static final Material.Red _600
public static final Material.Red _700
public static final Material.Red _800
public static final Material.Red _900
public static final Material.Red _A100
public static final Material.Red _A200
public static final Material.Red _A400
public static final Material.Red _A700
public static Material.Red[] values()
for (Material.Red c : Material.Red.values()) System.out.println(c);
public static Material.Red 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