public enum AnsiBackGroundColor extends Enum<AnsiBackGroundColor>
| Enum Constant and Description |
|---|
BLACK |
BLUE |
CYAN |
GREEN |
MAGENTA |
RED |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Getter accessor for attribute 'code'.
|
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 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 MAGENTA
public static final AnsiBackGroundColor CYAN
public static final AnsiBackGroundColor 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 int getCode()
Copyright © 2013–2017 FF4J. All rights reserved.