org.apache.pivot.wtk.text
Enum NumberedList.Style

java.lang.Object
  extended by java.lang.Enum<NumberedList.Style>
      extended by org.apache.pivot.wtk.text.NumberedList.Style
All Implemented Interfaces:
Serializable, Comparable<NumberedList.Style>
Enclosing class:
NumberedList

public static enum NumberedList.Style
extends Enum<NumberedList.Style>

List numbering styles.


Enum Constant Summary
DECIMAL
           
LOWER_ALPHA
           
LOWER_ROMAN
           
UPPER_ALPHA
           
UPPER_ROMAN
           
 
Method Summary
static NumberedList.Style valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NumberedList.Style[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DECIMAL

public static final NumberedList.Style DECIMAL

LOWER_ALPHA

public static final NumberedList.Style LOWER_ALPHA

UPPER_ALPHA

public static final NumberedList.Style UPPER_ALPHA

LOWER_ROMAN

public static final NumberedList.Style LOWER_ROMAN

UPPER_ROMAN

public static final NumberedList.Style UPPER_ROMAN
Method Detail

values

public static NumberedList.Style[] 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 (NumberedList.Style c : NumberedList.Style.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NumberedList.Style 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