Package org.apache.poi.hwmf.record
Enum Class HwmfHatchStyle
- All Implemented Interfaces:
Serializable
,Comparable<HwmfHatchStyle>
,Constable
The HatchStyle Enumeration specifies the hatch pattern.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription///// - A 45-degree upward, left-to-right hatch.+++++ - A horizontal and vertical cross-hatch.xxxxx - A 45-degree crosshatch.\\\\\ - A 45-degree downward, left-to-right hatch.----- - A horizontal hatch||||| - A vertical hatch -
Method Summary
Modifier and TypeMethodDescriptionstatic HwmfHatchStyle
Returns the enum constant of this class with the specified name.static HwmfHatchStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HS_HORIZONTAL
----- - A horizontal hatch -
HS_VERTICAL
||||| - A vertical hatch -
HS_FDIAGONAL
\\\\\ - A 45-degree downward, left-to-right hatch. -
HS_BDIAGONAL
///// - A 45-degree upward, left-to-right hatch. -
HS_CROSS
+++++ - A horizontal and vertical cross-hatch. -
HS_DIAGCROSS
xxxxx - A 45-degree crosshatch.
-
-
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
-