public enum NodeColor extends Enum<NodeColor>
| Enum Constant and Description |
|---|
Black |
DarkBlue |
DarkCyan |
DarkGray |
DarkGreen |
DarkMagenta |
DarkRed |
DarkYellow |
LightBlue |
LightCyan |
LightGray |
LightGreen |
LightMagenta |
LightRed |
LightYellow |
None |
White |
| Modifier and Type | Method and Description |
|---|---|
static NodeColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeColor Black
public static final NodeColor DarkBlue
public static final NodeColor DarkCyan
public static final NodeColor DarkGray
public static final NodeColor DarkGreen
public static final NodeColor DarkMagenta
public static final NodeColor DarkRed
public static final NodeColor DarkYellow
public static final NodeColor LightBlue
public static final NodeColor LightCyan
public static final NodeColor LightGray
public static final NodeColor LightGreen
public static final NodeColor LightMagenta
public static final NodeColor LightRed
public static final NodeColor LightYellow
public static final NodeColor None
public static final NodeColor White
public static NodeColor 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 nullpublic static NodeColor[] values()
for (NodeColor c : NodeColor.values()) System.out.println(c);