Enum 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>
- Enclosing class:
- HemfPlusPen
public static enum HemfPlusPen.EmfPlusLineStyle extends Enum<HemfPlusPen.EmfPlusLineStyle>
The LineStyle enumeration defines styles of lines that are drawn with graphics pens.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOMSpecifies a user-defined, custom dashed line.DASHSpecifies a dashed line.DASH_DOTSpecifies an alternating dash-dot line.DASH_DOT_DOTSpecifies an alternating dash-dot-dot line.DOTSpecifies a dotted line.SOLIDSpecifies a solid line.
-
Field Summary
Fields Modifier and Type Field Description intid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HemfPlusPen.EmfPlusLineStylevalueOf(int id)Returns the enum constant of this type with the specified name.static HemfPlusPen.EmfPlusLineStylevalueOf(String name)Returns the enum constant of this type with the specified name.static HemfPlusPen.EmfPlusLineStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SOLID
public static final HemfPlusPen.EmfPlusLineStyle SOLID
Specifies a solid line.
-
DASH
public static final HemfPlusPen.EmfPlusLineStyle DASH
Specifies a dashed line.
-
DOT
public static final HemfPlusPen.EmfPlusLineStyle DOT
Specifies a dotted line.
-
DASH_DOT
public static final HemfPlusPen.EmfPlusLineStyle DASH_DOT
Specifies an alternating dash-dot line.
-
DASH_DOT_DOT
public static final HemfPlusPen.EmfPlusLineStyle DASH_DOT_DOT
Specifies an alternating dash-dot-dot line.
-
CUSTOM
public static final HemfPlusPen.EmfPlusLineStyle CUSTOM
Specifies a user-defined, custom dashed line.
-
-
Method Detail
-
values
public static HemfPlusPen.EmfPlusLineStyle[] 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 (HemfPlusPen.EmfPlusLineStyle c : HemfPlusPen.EmfPlusLineStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HemfPlusPen.EmfPlusLineStyle 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
-
valueOf
public static HemfPlusPen.EmfPlusLineStyle valueOf(int id)
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:
id- 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
-
-