Enum StyleTextLineThroughStyleAttribute.Value
- java.lang.Object
-
- java.lang.Enum<StyleTextLineThroughStyleAttribute.Value>
-
- org.odftoolkit.odfdom.dom.attribute.style.StyleTextLineThroughStyleAttribute.Value
-
- All Implemented Interfaces:
Serializable
,Comparable<StyleTextLineThroughStyleAttribute.Value>
- Enclosing class:
- StyleTextLineThroughStyleAttribute
public static enum StyleTextLineThroughStyleAttribute.Value extends Enum<StyleTextLineThroughStyleAttribute.Value>
The value set of @style:text-line-through-style.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StyleTextLineThroughStyleAttribute.Value
enumValueOf(String value)
String
toString()
static StyleTextLineThroughStyleAttribute.Value
valueOf(String name)
Returns the enum constant of this type with the specified name.static StyleTextLineThroughStyleAttribute.Value[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DASH
public static final StyleTextLineThroughStyleAttribute.Value DASH
-
DOT_DASH
public static final StyleTextLineThroughStyleAttribute.Value DOT_DASH
-
DOT_DOT_DASH
public static final StyleTextLineThroughStyleAttribute.Value DOT_DOT_DASH
-
DOTTED
public static final StyleTextLineThroughStyleAttribute.Value DOTTED
-
LONG_DASH
public static final StyleTextLineThroughStyleAttribute.Value LONG_DASH
-
NONE
public static final StyleTextLineThroughStyleAttribute.Value NONE
-
SOLID
public static final StyleTextLineThroughStyleAttribute.Value SOLID
-
WAVE
public static final StyleTextLineThroughStyleAttribute.Value WAVE
-
-
Method Detail
-
values
public static StyleTextLineThroughStyleAttribute.Value[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StyleTextLineThroughStyleAttribute.Value c : StyleTextLineThroughStyleAttribute.Value.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StyleTextLineThroughStyleAttribute.Value valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<StyleTextLineThroughStyleAttribute.Value>
-
enumValueOf
public static StyleTextLineThroughStyleAttribute.Value enumValueOf(String value)
-
-