public static enum AnsiUtil.Color extends Enum<AnsiUtil.Color>
| Enum Constant and Description |
|---|
EMPHASIS |
ERROR |
INFO |
PROGRESS_BAR |
PROGRESS_ID |
PROGRESS_STATUS |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static AnsiUtil.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnsiUtil.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnsiUtil.Color ERROR
public static final AnsiUtil.Color INFO
public static final AnsiUtil.Color WARNING
public static final AnsiUtil.Color PROGRESS_ID
public static final AnsiUtil.Color PROGRESS_STATUS
public static final AnsiUtil.Color PROGRESS_BAR
public static final AnsiUtil.Color EMPHASIS
public static AnsiUtil.Color[] values()
for (AnsiUtil.Color c : AnsiUtil.Color.values()) System.out.println(c);
public static AnsiUtil.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 nullCopyright © 2023. All rights reserved.