public static enum ANSIColorLogger.ANSIColor extends java.lang.Enum<ANSIColorLogger.ANSIColor>
Enum Constant and Description |
---|
BLACK |
BLUE |
BRIGHT_BLACK |
BRIGHT_BLUE |
BRIGHT_CYAN |
BRIGHT_GREEN |
BRIGHT_MAGENTA |
BRIGHT_RED |
BRIGHT_WHITE |
BRIGHT_YELLOW |
CYAN |
GREEN |
MAGENTA |
NONE |
RED |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
end() |
java.lang.String |
start() |
static ANSIColorLogger.ANSIColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ANSIColorLogger.ANSIColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ANSIColorLogger.ANSIColor NONE
public static final ANSIColorLogger.ANSIColor BLACK
public static final ANSIColorLogger.ANSIColor BRIGHT_BLACK
public static final ANSIColorLogger.ANSIColor BLUE
public static final ANSIColorLogger.ANSIColor BRIGHT_BLUE
public static final ANSIColorLogger.ANSIColor GREEN
public static final ANSIColorLogger.ANSIColor BRIGHT_GREEN
public static final ANSIColorLogger.ANSIColor CYAN
public static final ANSIColorLogger.ANSIColor BRIGHT_CYAN
public static final ANSIColorLogger.ANSIColor RED
public static final ANSIColorLogger.ANSIColor BRIGHT_RED
public static final ANSIColorLogger.ANSIColor MAGENTA
public static final ANSIColorLogger.ANSIColor BRIGHT_MAGENTA
public static final ANSIColorLogger.ANSIColor YELLOW
public static final ANSIColorLogger.ANSIColor BRIGHT_YELLOW
public static final ANSIColorLogger.ANSIColor WHITE
public static final ANSIColorLogger.ANSIColor BRIGHT_WHITE
public static ANSIColorLogger.ANSIColor[] values()
for (ANSIColorLogger.ANSIColor c : ANSIColorLogger.ANSIColor.values()) System.out.println(c);
public static ANSIColorLogger.ANSIColor 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 nullpublic java.lang.String start()
public java.lang.String end()