org.fusesource.jansi
Enum Ansi.Attribute

java.lang.Object
  extended by java.lang.Enum<Ansi.Attribute>
      extended by org.fusesource.jansi.Ansi.Attribute
All Implemented Interfaces:
Serializable, Comparable<Ansi.Attribute>
Enclosing class:
Ansi

public static enum Ansi.Attribute
extends Enum<Ansi.Attribute>


Enum Constant Summary
BLINK_FAST
           
BLINK_OFF
           
BLINK_SLOW
           
CONCEAL_OFF
           
CONCEAL_ON
           
INTENSITY_BOLD
           
INTENSITY_BOLD_OFF
           
INTENSITY_FAINT
           
ITALIC
           
ITALIC_OFF
           
NEGATIVE_OFF
           
NEGATIVE_ON
           
RESET
           
STRIKETHROUGH_OFF
           
STRIKETHROUGH_ON
           
UNDERLINE
           
UNDERLINE_DOUBLE
           
UNDERLINE_OFF
           
 
Method Summary
 String toString()
           
 int value()
           
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.
 
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
 

Enum Constant Detail

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
Method Detail

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(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<Ansi.Attribute>

value

public int value()


Copyright © 2009-2011 FuseSource, Corp.. All Rights Reserved.