public static enum ANSI.Background extends Enum<ANSI.Background> implements IMarkIx
| Enum Constant and Description |
|---|
BLACK |
BLUE |
CYAN |
GREEN |
MAGENTA |
RED |
WHITE |
YELLOW |
| Modifier and Type | Method and Description |
|---|---|
int |
ix() |
static ANSI.Background |
of(Integer ix) |
static ANSI.Background |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ANSI.Background[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ANSI.Background BLACK
public static final ANSI.Background RED
public static final ANSI.Background GREEN
public static final ANSI.Background YELLOW
public static final ANSI.Background BLUE
public static final ANSI.Background MAGENTA
public static final ANSI.Background CYAN
public static final ANSI.Background WHITE
public static ANSI.Background[] values()
for (ANSI.Background c : ANSI.Background.values()) System.out.println(c);
public static ANSI.Background 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 ANSI.Background of(Integer ix)
Copyright © 2019. All rights reserved.