public static enum Ansi.Decoration extends Enum<Ansi.Decoration> implements Ansi.Parameter
| Enum Constant and Description |
|---|
BOLD |
CLEAR |
DARK |
HIDDEN |
LIGHT |
REVERSE |
UNDERLINE |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static Ansi.Decoration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ansi.Decoration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ansi.Decoration CLEAR
public static final Ansi.Decoration BOLD
public static final Ansi.Decoration LIGHT
public static final Ansi.Decoration DARK
public static final Ansi.Decoration UNDERLINE
public static final Ansi.Decoration REVERSE
public static final Ansi.Decoration HIDDEN
public static Ansi.Decoration[] values()
for (Ansi.Decoration c : Ansi.Decoration.values()) System.out.println(c);
public static Ansi.Decoration 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 code()
code in interface Ansi.ParameterCopyright © 2022. All rights reserved.