public enum AnsiBackgroundColor extends Enum<AnsiBackgroundColor>
| Enum Constant and Description |
|---|
BLACK |
BLUE |
BRIGH_BLACK |
BRIGHT_BLUE |
BRIGHT_CYAN |
BRIGHT_GREEN |
BRIGHT_MAGENTA |
BRIGHT_RED |
BRIGHT_WHITE |
BRIGHT_YELLOW |
CYAN |
GRAY |
GREEN |
NONE |
PURPLE |
RED |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static AnsiBackgroundColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnsiBackgroundColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnsiBackgroundColor NONE
public static final AnsiBackgroundColor BLACK
public static final AnsiBackgroundColor RED
public static final AnsiBackgroundColor GREEN
public static final AnsiBackgroundColor YELLOW
public static final AnsiBackgroundColor BLUE
public static final AnsiBackgroundColor PURPLE
public static final AnsiBackgroundColor CYAN
public static final AnsiBackgroundColor GRAY
public static final AnsiBackgroundColor BRIGH_BLACK
public static final AnsiBackgroundColor BRIGHT_RED
public static final AnsiBackgroundColor BRIGHT_GREEN
public static final AnsiBackgroundColor BRIGHT_YELLOW
public static final AnsiBackgroundColor BRIGHT_BLUE
public static final AnsiBackgroundColor BRIGHT_MAGENTA
public static final AnsiBackgroundColor BRIGHT_CYAN
public static final AnsiBackgroundColor BRIGHT_WHITE
public static AnsiBackgroundColor[] values()
for (AnsiBackgroundColor c : AnsiBackgroundColor.values()) System.out.println(c);
public static AnsiBackgroundColor 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 String value()
Copyright © 2019. All rights reserved.