Enum Class RectAlign

java.lang.Object
java.lang.Enum<RectAlign>
org.apache.poi.sl.usermodel.RectAlign
All Implemented Interfaces:
Serializable, Comparable<RectAlign>, Constable

public enum RectAlign extends Enum<RectAlign>
Specifies possible rectangle alignment types. See org.openxmlformats.schemas.drawingml.x2006.main.STRectAlignment
See Also:
  • Enum Constant Details

    • 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
    • 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 Details

    • values

      public static RectAlign[] 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

      public static RectAlign valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      The string representation, which corresponds to the internal XML enum value
      Overrides:
      toString in class Enum<RectAlign>