public static enum Ansi.Attribute extends Enum<Ansi.Attribute>
| Enum Constant and Description |
|---|
BLINK |
BRIGHT
Usually turns on BOLD
|
DIM |
HIDDEN
Concealed on
|
NORMAL
Reset All Attributes (return to normal mode)
|
REVERSE
Reverse video on
|
UNDERLINE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Ansi.Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ansi.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ansi.Attribute NORMAL
public static final Ansi.Attribute BRIGHT
public static final Ansi.Attribute DIM
public static final Ansi.Attribute UNDERLINE
public static final Ansi.Attribute BLINK
public static final Ansi.Attribute REVERSE
public static final Ansi.Attribute HIDDEN
public static Ansi.Attribute[] values()
for (Ansi.Attribute c : Ansi.Attribute.values()) System.out.println(c);
public static Ansi.Attribute 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 toString()
toString in class Enum<Ansi.Attribute>Copyright © 2021. All rights reserved.