public static enum StyledElement.TextDecoration extends java.lang.Enum<StyledElement.TextDecoration>
Enum Constant and Description |
---|
LINETHROUGH |
NOLINETHROUGH |
NONE |
NOOVERLINE |
NOUNDERLINE |
OVERLINE |
UNDERLINE |
Modifier and Type | Method and Description |
---|---|
static StyledElement.TextDecoration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StyledElement.TextDecoration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyledElement.TextDecoration NONE
public static final StyledElement.TextDecoration UNDERLINE
public static final StyledElement.TextDecoration NOUNDERLINE
public static final StyledElement.TextDecoration LINETHROUGH
public static final StyledElement.TextDecoration NOLINETHROUGH
public static final StyledElement.TextDecoration OVERLINE
public static final StyledElement.TextDecoration NOOVERLINE
public static StyledElement.TextDecoration[] values()
for (StyledElement.TextDecoration c : StyledElement.TextDecoration.values()) System.out.println(c);
public static StyledElement.TextDecoration valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null