Package com.vaadin.flow.component.html
Enum OrderedList.NumberingType
- java.lang.Object
-
- java.lang.Enum<OrderedList.NumberingType>
-
- com.vaadin.flow.component.html.OrderedList.NumberingType
-
- All Implemented Interfaces:
Serializable
,Comparable<OrderedList.NumberingType>
- Enclosing class:
- OrderedList
public static enum OrderedList.NumberingType extends Enum<OrderedList.NumberingType>
Defines the numbering type of the list items.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOWERCASE_LETTER
The list items will be numbered with lowercase letters.LOWERCASE_ROMAN
The list items will be numbered with lowercase Roman numbers.NUMBER
The list items will be numbered with numbers (default).UPPERCASE_LETTER
The list items will be numbered with uppercase letters.UPPERCASE_ROMAN
The list items will be numbered with uppercase Roman numbers.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrderedList.NumberingType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OrderedList.NumberingType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMBER
public static final OrderedList.NumberingType NUMBER
The list items will be numbered with numbers (default).
-
UPPERCASE_LETTER
public static final OrderedList.NumberingType UPPERCASE_LETTER
The list items will be numbered with uppercase letters.
-
LOWERCASE_LETTER
public static final OrderedList.NumberingType LOWERCASE_LETTER
The list items will be numbered with lowercase letters.
-
UPPERCASE_ROMAN
public static final OrderedList.NumberingType UPPERCASE_ROMAN
The list items will be numbered with uppercase Roman numbers.
-
LOWERCASE_ROMAN
public static final OrderedList.NumberingType LOWERCASE_ROMAN
The list items will be numbered with lowercase Roman numbers.
-
-
Method Detail
-
values
public static OrderedList.NumberingType[] 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 (OrderedList.NumberingType c : OrderedList.NumberingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OrderedList.NumberingType 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 nameNullPointerException
- if the argument is null
-
-