Package 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:
java.io.Serializable
,java.lang.Comparable<NumberedList.Style>
- Enclosing class:
- NumberedList
public static enum NumberedList.Style extends java.lang.Enum<NumberedList.Style>
List numbering styles.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECIMAL
LOWER_ALPHA
LOWER_ROMAN
UPPER_ALPHA
UPPER_ROMAN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumberedList.Style
valueOf(java.lang.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.
-
-
-
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(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 namejava.lang.NullPointerException
- if the argument is null
-
-