public enum AnsiForegroundColor extends Enum<AnsiForegroundColor>
| 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 AnsiForegroundColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnsiForegroundColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnsiForegroundColor BLACK
public static final AnsiForegroundColor RED
public static final AnsiForegroundColor GREEN
public static final AnsiForegroundColor YELLOW
public static final AnsiForegroundColor BLUE
public static final AnsiForegroundColor MAGENTA
public static final AnsiForegroundColor CYAN
public static final AnsiForegroundColor WHITE
public static AnsiForegroundColor[] values()
for (AnsiForegroundColor c : AnsiForegroundColor.values()) System.out.println(c);
public static AnsiForegroundColor 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.