public static enum TerminalOutput.Color extends java.lang.Enum<TerminalOutput.Color>
| Enum Constant and Description |
|---|
Black |
Blue |
Cyan |
Green |
Magenta |
Red |
White |
Yellow |
| Modifier and Type | Method and Description |
|---|---|
static TerminalOutput.Color |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TerminalOutput.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminalOutput.Color Black
public static final TerminalOutput.Color Red
public static final TerminalOutput.Color Green
public static final TerminalOutput.Color Yellow
public static final TerminalOutput.Color Blue
public static final TerminalOutput.Color Magenta
public static final TerminalOutput.Color Cyan
public static final TerminalOutput.Color White
public static TerminalOutput.Color[] values()
for (TerminalOutput.Color c : TerminalOutput.Color.values()) System.out.println(c);
public static TerminalOutput.Color 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 null