public static enum Console.COLOR extends Enum<Console.COLOR>
| Enum Constant and Description |
|---|
BLACK |
BLUE |
CYAN |
GREEN |
MAGENTA |
RED |
UNKNOWN |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static Console.COLOR |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Console.COLOR[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Console.COLOR UNKNOWN
public static final Console.COLOR WHITE
public static final Console.COLOR BLACK
public static final Console.COLOR RED
public static final Console.COLOR GREEN
public static final Console.COLOR BLUE
public static final Console.COLOR YELLOW
public static final Console.COLOR MAGENTA
public static final Console.COLOR CYAN
public static Console.COLOR[] values()
for (Console.COLOR c : Console.COLOR.values()) System.out.println(c);
public static Console.COLOR 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 nullCopyright © 2016. All Rights Reserved.