public enum OAnsiCode extends Enum<OAnsiCode>
Enum Constant and Description |
---|
BACKGROUND_BLACK |
BACKGROUND_BLUE |
BACKGROUND_CYAN |
BACKGROUND_GREEN |
BACKGROUND_MAGENTA |
BACKGROUND_RED |
BACKGROUND_WHITE |
BACKGROUND_YELLOW |
BLACK |
BLINK |
BLUE |
CYAN |
GREEN |
HIGH_INTENSITY |
INVISIBLE_TEXT |
ITALIC |
LOW_INTENSITY |
MAGENTA |
NULL |
RAPID_BLINK |
RED |
RESET |
REVERSE_VIDEO |
UNDERLINE |
WHITE |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static String |
format(String message) |
static String |
format(String message,
boolean supportsColors) |
static boolean |
isSupportsColors() |
String |
toString() |
static OAnsiCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAnsiCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAnsiCode RESET
public static final OAnsiCode BLACK
public static final OAnsiCode RED
public static final OAnsiCode GREEN
public static final OAnsiCode YELLOW
public static final OAnsiCode BLUE
public static final OAnsiCode MAGENTA
public static final OAnsiCode CYAN
public static final OAnsiCode WHITE
public static final OAnsiCode HIGH_INTENSITY
public static final OAnsiCode LOW_INTENSITY
public static final OAnsiCode ITALIC
public static final OAnsiCode UNDERLINE
public static final OAnsiCode BLINK
public static final OAnsiCode RAPID_BLINK
public static final OAnsiCode REVERSE_VIDEO
public static final OAnsiCode INVISIBLE_TEXT
public static final OAnsiCode BACKGROUND_BLACK
public static final OAnsiCode BACKGROUND_RED
public static final OAnsiCode BACKGROUND_GREEN
public static final OAnsiCode BACKGROUND_YELLOW
public static final OAnsiCode BACKGROUND_BLUE
public static final OAnsiCode BACKGROUND_MAGENTA
public static final OAnsiCode BACKGROUND_CYAN
public static final OAnsiCode BACKGROUND_WHITE
public static final OAnsiCode NULL
public static OAnsiCode[] values()
for (OAnsiCode c : OAnsiCode.values()) System.out.println(c);
public static OAnsiCode 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 boolean isSupportsColors()
Copyright © 2009–2020 OrientDB. All rights reserved.