public static enum JLineConsole.Color extends Enum<JLineConsole.Color>
| Enum Constant and Description |
|---|
Black |
Blue |
Cyan |
Default |
Green |
LightBlack |
LightBlue |
LightCyan |
LightGreen |
LightMagenta |
LightRed |
LightWhite |
LightYellow |
Magenta |
Red |
White |
Yellow |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackgroudEscape() |
String |
getForegroudEscape() |
static JLineConsole.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JLineConsole.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JLineConsole.Color Black
public static final JLineConsole.Color Red
public static final JLineConsole.Color Green
public static final JLineConsole.Color Yellow
public static final JLineConsole.Color Blue
public static final JLineConsole.Color Magenta
public static final JLineConsole.Color Cyan
public static final JLineConsole.Color White
public static final JLineConsole.Color LightBlack
public static final JLineConsole.Color LightRed
public static final JLineConsole.Color LightGreen
public static final JLineConsole.Color LightYellow
public static final JLineConsole.Color LightBlue
public static final JLineConsole.Color LightMagenta
public static final JLineConsole.Color LightCyan
public static final JLineConsole.Color LightWhite
public static final JLineConsole.Color Default
public static JLineConsole.Color[] values()
for (JLineConsole.Color c : JLineConsole.Color.values()) System.out.println(c);
public static JLineConsole.Color 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 getBackgroudEscape()
public String getForegroudEscape()
Copyright © 2017. All rights reserved.