Package org.apache.poi.sl.usermodel
Enum Class RectAlign
- All Implemented Interfaces:
Serializable
,Comparable<RectAlign>
,Constable
Specifies possible rectangle alignment types.
See org.openxmlformats.schemas.drawingml.x2006.main.STRectAlignment
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBottom rectangle alignmentBottom-Left rectangle alignmentBottom-Right rectangle alignmentCenter rectangle alignmentLeft rectangle alignmentRight rectangle alignmentTop rectangle alignmentTop-Left rectangle alignmentTop-Right rectangle alignment -
Method Summary
Modifier and TypeMethodDescriptiontoString()
The string representation, which corresponds to the internal XML enum valuestatic RectAlign
Returns the enum constant of this class with the specified name.static RectAlign[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP_LEFT
Top-Left rectangle alignment -
TOP
Top rectangle alignment -
TOP_RIGHT
Top-Right rectangle alignment -
LEFT
Left rectangle alignment -
CENTER
Center rectangle alignment -
RIGHT
Right rectangle alignment -
BOTTOM_LEFT
Bottom-Left rectangle alignment -
BOTTOM
Bottom rectangle alignment -
BOTTOM_RIGHT
Bottom-Right rectangle alignment
-
-
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
-
toString
The string representation, which corresponds to the internal XML enum value
-