Package org.fusesource.jansi
Enum Ansi.Attribute
- All Implemented Interfaces:
Serializable
,Comparable<Ansi.Attribute>
,java.lang.constant.Constable
- Enclosing class:
Ansi
Display attributes, also know as
SGR
(Select Graphic Rendition) parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
int
value()
static Ansi.Attribute
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.
-
Enum Constant Details
-
RESET
-
INTENSITY_BOLD
-
INTENSITY_FAINT
-
ITALIC
-
UNDERLINE
-
BLINK_SLOW
-
BLINK_FAST
-
NEGATIVE_ON
-
CONCEAL_ON
-
STRIKETHROUGH_ON
-
UNDERLINE_DOUBLE
-
INTENSITY_BOLD_OFF
-
ITALIC_OFF
-
UNDERLINE_OFF
-
BLINK_OFF
-
NEGATIVE_OFF
-
CONCEAL_OFF
-
STRIKETHROUGH_OFF
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<Ansi.Attribute>
-
value
public int value()
-