public static enum AnsiPrinter.Color extends java.lang.Enum<AnsiPrinter.Color>
| Enum Constant and Description |
|---|
BLACK |
BLUE |
BROWN |
CYAN |
DARK_GRAY |
GREEN |
LIGHT_BLUE |
LIGHT_CYAN |
LIGHT_GRAY |
LIGHT_GREEN |
LIGHT_PURPLE |
LIGHT_RED |
PURPLE |
RED |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
static AnsiPrinter.Color |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnsiPrinter.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnsiPrinter.Color BLACK
public static final AnsiPrinter.Color BLUE
public static final AnsiPrinter.Color GREEN
public static final AnsiPrinter.Color CYAN
public static final AnsiPrinter.Color RED
public static final AnsiPrinter.Color PURPLE
public static final AnsiPrinter.Color BROWN
public static final AnsiPrinter.Color LIGHT_GRAY
public static final AnsiPrinter.Color DARK_GRAY
public static final AnsiPrinter.Color LIGHT_BLUE
public static final AnsiPrinter.Color LIGHT_GREEN
public static final AnsiPrinter.Color LIGHT_CYAN
public static final AnsiPrinter.Color LIGHT_RED
public static final AnsiPrinter.Color LIGHT_PURPLE
public static final AnsiPrinter.Color YELLOW
public static final AnsiPrinter.Color WHITE
public static AnsiPrinter.Color[] values()
for (AnsiPrinter.Color c : AnsiPrinter.Color.values()) System.out.println(c);
public static AnsiPrinter.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 nullCopyright © Sylvain HallĂ©. All Rights Reserved.