Package org.apache.poi.sl.usermodel
Enum RectAlign
- java.lang.Object
-
- java.lang.Enum<RectAlign>
-
- org.apache.poi.sl.usermodel.RectAlign
-
- All Implemented Interfaces:
Serializable
,Comparable<RectAlign>
public enum RectAlign extends Enum<RectAlign>
Specifies possible rectangle alignment types. See org.openxmlformats.schemas.drawingml.x2006.main.STRectAlignment
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOM
Bottom rectangle alignmentBOTTOM_LEFT
Bottom-Left rectangle alignmentBOTTOM_RIGHT
Bottom-Right rectangle alignmentCENTER
Center rectangle alignmentLEFT
Left rectangle alignmentRIGHT
Right rectangle alignmentTOP
Top rectangle alignmentTOP_LEFT
Top-Left rectangle alignmentTOP_RIGHT
Top-Right rectangle alignment
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
The string representation, which corresponds to the internal XML enum valuestatic RectAlign
valueOf(String name)
Returns the enum constant of this type with the specified name.static RectAlign[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOP_LEFT
public static final RectAlign TOP_LEFT
Top-Left rectangle alignment
-
TOP
public static final RectAlign TOP
Top rectangle alignment
-
TOP_RIGHT
public static final RectAlign TOP_RIGHT
Top-Right rectangle alignment
-
LEFT
public static final RectAlign LEFT
Left rectangle alignment
-
CENTER
public static final RectAlign CENTER
Center rectangle alignment
-
RIGHT
public static final RectAlign RIGHT
Right rectangle alignment
-
BOTTOM_LEFT
public static final RectAlign BOTTOM_LEFT
Bottom-Left rectangle alignment
-
BOTTOM
public static final RectAlign BOTTOM
Bottom rectangle alignment
-
BOTTOM_RIGHT
public static final RectAlign BOTTOM_RIGHT
Bottom-Right rectangle alignment
-
-
Method Detail
-
values
public static RectAlign[] 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 (RectAlign c : RectAlign.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RectAlign 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
-
-