public static enum PrimitiveGCInterface.EColor extends Enum<PrimitiveGCInterface.EColor>
Enum Constant and Description |
---|
BACKGROUND |
BLACK |
BLUE |
DARKGRAY |
GRAY |
GREEN |
LIGHTBLUE |
LIGHTGRAY |
MAGENTA |
ORANGE |
RED |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static PrimitiveGCInterface.EColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveGCInterface.EColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveGCInterface.EColor BACKGROUND
public static final PrimitiveGCInterface.EColor BLACK
public static final PrimitiveGCInterface.EColor RED
public static final PrimitiveGCInterface.EColor YELLOW
public static final PrimitiveGCInterface.EColor ORANGE
public static final PrimitiveGCInterface.EColor GREEN
public static final PrimitiveGCInterface.EColor BLUE
public static final PrimitiveGCInterface.EColor MAGENTA
public static final PrimitiveGCInterface.EColor GRAY
public static final PrimitiveGCInterface.EColor LIGHTGRAY
public static final PrimitiveGCInterface.EColor DARKGRAY
public static final PrimitiveGCInterface.EColor LIGHTBLUE
public static PrimitiveGCInterface.EColor[] values()
for (PrimitiveGCInterface.EColor c : PrimitiveGCInterface.EColor.values()) System.out.println(c);
public static PrimitiveGCInterface.EColor valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null