Enum Class ListDomNode.Style
- All Implemented Interfaces:
Serializable
,Comparable<ListDomNode.Style>
,java.lang.constant.Constable
- Enclosing interface:
- ListDomNode
Represents the list style type.
- Since:
- 4.2.17
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLower-case alphabetical style.Upper-case alphabetical style.Bullets list style.Dashed list style.Default list style.Empty list style.Numbered list style.Lower-case Roman numerals style.Upper-case Roman numerals style.User-defined list style. -
Method Summary
Modifier and TypeMethodDescriptionstatic ListDomNode.Style
forIndex
(int index) Returns the style having the given index ordefault style
as fallback.int
getIndex()
Returns the styles index.static ListDomNode.Style
Returns the enum constant of this class with the specified name.static ListDomNode.Style[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default list style.- Since:
- 4.2.17
-
DASH
Dashed list style.- Since:
- 4.2.17
-
BULLET
Bullets list style.- Since:
- 4.2.17
-
NUMBERED
Numbered list style.- Since:
- 4.2.17
-
ALPHABETICAL_LOWERCASE
Lower-case alphabetical style.- Since:
- 4.2.17
-
ALPHABETICAL_UPPERCASE
Upper-case alphabetical style.- Since:
- 4.2.17
-
ROMAN_NUMBERS_LOWERCASE
Lower-case Roman numerals style.- Since:
- 4.2.17
-
ROMAN_NUMBERS_UPPERCASE
Upper-case Roman numerals style.- Since:
- 4.2.17
-
EMPTY
Empty list style.- Since:
- 4.2.17
-
USER_DEFINED
User-defined list style.- Since:
- 4.2.17
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getIndex
public int getIndex()Returns the styles index.- Since:
- 4.2.17
- See Also:
-
forIndex
Returns the style having the given index ordefault style
as fallback.- Since:
- 4.2.17
- See Also:
-