Enum StyleLineStyleAttribute.Value
- java.lang.Object
-
- java.lang.Enum<StyleLineStyleAttribute.Value>
-
- org.odftoolkit.odfdom.dom.attribute.style.StyleLineStyleAttribute.Value
-
- All Implemented Interfaces:
Serializable
,Comparable<StyleLineStyleAttribute.Value>
- Enclosing class:
- StyleLineStyleAttribute
public static enum StyleLineStyleAttribute.Value extends Enum<StyleLineStyleAttribute.Value>
The value set of @style:line-style.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StyleLineStyleAttribute.Value
enumValueOf(String value)
String
toString()
static StyleLineStyleAttribute.Value
valueOf(String name)
Returns the enum constant of this type with the specified name.static StyleLineStyleAttribute.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 StyleLineStyleAttribute.Value DASH
-
DOT_DASH
public static final StyleLineStyleAttribute.Value DOT_DASH
-
DOT_DOT_DASH
public static final StyleLineStyleAttribute.Value DOT_DOT_DASH
-
DOTTED
public static final StyleLineStyleAttribute.Value DOTTED
-
LONG_DASH
public static final StyleLineStyleAttribute.Value LONG_DASH
-
NONE
public static final StyleLineStyleAttribute.Value NONE
-
SOLID
public static final StyleLineStyleAttribute.Value SOLID
-
WAVE
public static final StyleLineStyleAttribute.Value WAVE
-
-
Method Detail
-
values
public static StyleLineStyleAttribute.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 (StyleLineStyleAttribute.Value c : StyleLineStyleAttribute.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 StyleLineStyleAttribute.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<StyleLineStyleAttribute.Value>
-
enumValueOf
public static StyleLineStyleAttribute.Value enumValueOf(String value)
-
-