public static enum ListDomNode.Style extends Enum<ListDomNode.Style>
Enum Constant and Description |
---|
ALPHABETICAL_LOWERCASE
Lower-case alphabetical style.
|
ALPHABETICAL_UPPERCASE
Upper-case alphabetical style.
|
BULLET
Bullets list style.
|
DASH
Dashed list style.
|
DEFAULT
Default list style.
|
EMPTY
Empty list style.
|
NUMBERED
Numbered list style.
|
ROMAN_NUMBERS_LOWERCASE
Lower-case Roman numerals style.
|
ROMAN_NUMBERS_UPPERCASE
Upper-case Roman numerals style.
|
USER_DEFINED
User-defined list style.
|
Modifier and Type | Method and Description |
---|---|
static ListDomNode.Style |
forIndex(int index)
Returns the style having the given index or
default style as fallback. |
int |
getIndex()
Returns the styles index.
|
static ListDomNode.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListDomNode.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListDomNode.Style DEFAULT
public static final ListDomNode.Style DASH
public static final ListDomNode.Style BULLET
public static final ListDomNode.Style NUMBERED
public static final ListDomNode.Style ALPHABETICAL_LOWERCASE
public static final ListDomNode.Style ALPHABETICAL_UPPERCASE
public static final ListDomNode.Style ROMAN_NUMBERS_LOWERCASE
public static final ListDomNode.Style ROMAN_NUMBERS_UPPERCASE
public static final ListDomNode.Style EMPTY
public static final ListDomNode.Style USER_DEFINED
public static ListDomNode.Style[] values()
for (ListDomNode.Style c : ListDomNode.Style.values()) System.out.println(c);
public static ListDomNode.Style valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getIndex()
forIndex(int)
public static ListDomNode.Style forIndex(int index)
default style
as fallback.getIndex()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210