org.apache.pivot.wtk.text
Enum NumberedList.Style
java.lang.Object
java.lang.Enum<NumberedList.Style>
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.
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
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