public static enum Ansi.BgColor extends Enum<Ansi.BgColor> implements Ansi.AnsiCode
| Enum Constant and Description |
|---|
BLACK |
BLUE |
CYAN |
GREEN |
MAGENTA |
RED |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
int |
getBeginInt() |
int |
getEndInt() |
static Ansi.BgColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ansi.BgColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetEnd, getStartpublic static final Ansi.BgColor BLACK
public static final Ansi.BgColor RED
public static final Ansi.BgColor GREEN
public static final Ansi.BgColor YELLOW
public static final Ansi.BgColor BLUE
public static final Ansi.BgColor MAGENTA
public static final Ansi.BgColor CYAN
public static final Ansi.BgColor WHITE
public static Ansi.BgColor[] values()
for (Ansi.BgColor c : Ansi.BgColor.values()) System.out.println(c);
public static Ansi.BgColor 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 getBeginInt()
getBeginInt in interface Ansi.AnsiCodepublic int getEndInt()
getEndInt in interface Ansi.AnsiCodeCopyright © 2015. All rights reserved.