public enum GraphColor extends Enum<GraphColor>
Enum Constant and Description |
---|
GRAY |
GREEN |
RED |
UNCOLORED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static GraphColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphColor UNCOLORED
public static final GraphColor WHITE
public static final GraphColor GRAY
public static final GraphColor YELLOW
public static final GraphColor GREEN
public static final GraphColor RED
public static GraphColor[] values()
for (GraphColor c : GraphColor.values()) System.out.println(c);
public static GraphColor 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