Enum Class HemfPlusPen.EmfPlusLineStyle
java.lang.Object
java.lang.Enum<HemfPlusPen.EmfPlusLineStyle>
org.apache.poi.hemf.record.emfplus.HemfPlusPen.EmfPlusLineStyle
- All Implemented Interfaces:
Serializable,Comparable<HemfPlusPen.EmfPlusLineStyle>,Constable
- Enclosing class:
- HemfPlusPen
The LineStyle enumeration defines styles of lines that are drawn with graphics pens.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic HemfPlusPen.EmfPlusLineStylevalueOf(int id) Returns the enum constant of this class with the specified name.static HemfPlusPen.EmfPlusLineStyleReturns the enum constant of this class with the specified name.static HemfPlusPen.EmfPlusLineStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOLID
Specifies a solid line. -
DASH
Specifies a dashed line. -
DOT
Specifies a dotted line. -
DASH_DOT
Specifies an alternating dash-dot line. -
DASH_DOT_DOT
Specifies an alternating dash-dot-dot line. -
CUSTOM
Specifies a user-defined, custom dashed line.
-
-
Field Details
-
id
public final int id
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
id- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-