public static enum Style.TextDecoration extends java.lang.Enum<Style.TextDecoration> implements Style.HasCssName
Enum Constant and Description |
---|
BLINK |
LINE_THROUGH |
NONE |
OVERLINE |
UNDERLINE |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getCssName()
Gets the CSS name associated with this value.
|
static Style.TextDecoration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Style.TextDecoration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.TextDecoration BLINK
public static final Style.TextDecoration LINE_THROUGH
public static final Style.TextDecoration NONE
public static final Style.TextDecoration OVERLINE
public static final Style.TextDecoration UNDERLINE
public static Style.TextDecoration[] values()
for (Style.TextDecoration c : Style.TextDecoration.values()) System.out.println(c);
public static Style.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 nullpublic abstract java.lang.String getCssName()
Style.HasCssName
getCssName
in interface Style.HasCssName