org.fusesource.jansi
Enum Ansi.Attribute
java.lang.Object
java.lang.Enum<Ansi.Attribute>
org.fusesource.jansi.Ansi.Attribute
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Ansi.Attribute>
- Enclosing class:
- Ansi
public static enum Ansi.Attribute
- extends java.lang.Enum<Ansi.Attribute>
Method Summary |
java.lang.String |
toString()
|
int |
value()
|
static Ansi.Attribute |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
RESET
public static final Ansi.Attribute RESET
INTENSITY_BOLD
public static final Ansi.Attribute INTENSITY_BOLD
INTENSITY_FAINT
public static final Ansi.Attribute INTENSITY_FAINT
ITALIC
public static final Ansi.Attribute ITALIC
UNDERLINE
public static final Ansi.Attribute UNDERLINE
BLINK_SLOW
public static final Ansi.Attribute BLINK_SLOW
BLINK_FAST
public static final Ansi.Attribute BLINK_FAST
NEGATIVE_ON
public static final Ansi.Attribute NEGATIVE_ON
CONCEAL_ON
public static final Ansi.Attribute CONCEAL_ON
STRIKETHROUGH_ON
public static final Ansi.Attribute STRIKETHROUGH_ON
UNDERLINE_DOUBLE
public static final Ansi.Attribute UNDERLINE_DOUBLE
INTENSITY_BOLD_OFF
public static final Ansi.Attribute INTENSITY_BOLD_OFF
ITALIC_OFF
public static final Ansi.Attribute ITALIC_OFF
UNDERLINE_OFF
public static final Ansi.Attribute UNDERLINE_OFF
BLINK_OFF
public static final Ansi.Attribute BLINK_OFF
NEGATIVE_OFF
public static final Ansi.Attribute NEGATIVE_OFF
CONCEAL_OFF
public static final Ansi.Attribute CONCEAL_OFF
STRIKETHROUGH_OFF
public static final Ansi.Attribute STRIKETHROUGH_OFF
values
public static Ansi.Attribute[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Ansi.Attribute c : Ansi.Attribute.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Ansi.Attribute valueOf(java.lang.String name)
- 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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<Ansi.Attribute>
value
public int value()