Enum Constant and Description |
---|
Black |
Blue |
Brown |
Cyan |
Gray |
Green |
LightBlue |
LightGray |
Lime |
Magenta |
Orange |
Pink |
Purple |
Red |
Transparent |
White |
Yellow |
Modifier and Type | Field and Description |
---|---|
int |
blackVariant
Darkest Variant of the color, nearly black; as a RGB HEX Integer
|
int |
mediumVariant
The Variant of the color that is used to represent the color normally; as a RGB HEX Integer
|
java.lang.String |
unlocalizedName
Unlocalized name for color.
|
static java.util.List<AEColor> |
VALID_COLORS |
int |
whiteVariant
Lightest Variant of the color, nearly white; as a RGB HEX Integer
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(AEColor color)
Logic to see which colors match each other..
|
java.lang.String |
toString() |
static AEColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AEColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AEColor White
public static final AEColor Orange
public static final AEColor Magenta
public static final AEColor LightBlue
public static final AEColor Yellow
public static final AEColor Lime
public static final AEColor Pink
public static final AEColor Gray
public static final AEColor LightGray
public static final AEColor Cyan
public static final AEColor Purple
public static final AEColor Blue
public static final AEColor Brown
public static final AEColor Green
public static final AEColor Red
public static final AEColor Black
public static final AEColor Transparent
public static final java.util.List<AEColor> VALID_COLORS
public final java.lang.String unlocalizedName
public final int blackVariant
public final int mediumVariant
public final int whiteVariant
public static AEColor[] values()
for (AEColor c : AEColor.values()) System.out.println(c);
public static AEColor 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 boolean matches(AEColor color)
public java.lang.String toString()
toString
in class java.lang.Enum<AEColor>