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