|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TextDecoration>
com.osbcp.css.constants.TextDecoration
public enum TextDecoration
Values for the text-decoration property.
Enum Constant Summary | |
---|---|
BLINK
Defines a blinking text. |
|
INHERIT
Specifies that the value of the text-decoration property should be inherited from the parent element. |
|
LINE_THROUGH
Defines a line through the text. |
|
NONE
Defines a normal text. |
|
OVERLINE
Defines a line above the text. |
|
UNDERLINE
Defines a line below the text. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static TextDecoration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TextDecoration[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TextDecoration NONE
public static final TextDecoration UNDERLINE
public static final TextDecoration OVERLINE
public static final TextDecoration LINE_THROUGH
public static final TextDecoration BLINK
public static final TextDecoration INHERIT
Method Detail |
---|
public static TextDecoration[] values()
for (TextDecoration c : TextDecoration.values()) System.out.println(c);
public static 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<TextDecoration>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |