java.lang.Object
java.lang.Enum<AlignmentType>
com.orchestranetworks.addon.dmdv.template.bean.AlignmentType
All Implemented Interfaces:
Serializable, Comparable<AlignmentType>, Constable

public enum AlignmentType extends Enum<AlignmentType>
Represents an element's relative position in relation to another element.
Since:
1.2.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The specific point at the middle of the bottom side of bounding rectangle.
    The specific point at the bottom-left corner of the bounding rectangle.
    The specific point at the bottom-right corner of the bounding rectangle.
    The specific point at the very center of the bounding rectangle.
    The specific point at the middle of the left side of bounding rectangle.
    The specific point at the middle of the right side of bounding rectangle.
    The specific point at the center of the top side of the bounding rectangle.
    The specific point at the top-left corner of the bounding rectangle.
    The specific point at the top-right corner of the bounding rectangle.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    static AlignmentType[]
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • MIDDLE_LEFT

      public static final AlignmentType MIDDLE_LEFT
      The specific point at the middle of the left side of bounding rectangle.
    • MIDDLE_RIGHT

      public static final AlignmentType MIDDLE_RIGHT
      The specific point at the middle of the right side of bounding rectangle.
    • TOP_CENTER

      public static final AlignmentType TOP_CENTER
      The specific point at the center of the top side of the bounding rectangle.
    • TOP_LEFT

      public static final AlignmentType TOP_LEFT
      The specific point at the top-left corner of the bounding rectangle.
    • TOP_RIGHT

      public static final AlignmentType TOP_RIGHT
      The specific point at the top-right corner of the bounding rectangle.
    • BOTTOM_CENTER

      public static final AlignmentType BOTTOM_CENTER
      The specific point at the middle of the bottom side of bounding rectangle.
    • BOTTOM_LEFT

      public static final AlignmentType BOTTOM_LEFT
      The specific point at the bottom-left corner of the bounding rectangle.
    • BOTTOM_RIGHT

      public static final AlignmentType BOTTOM_RIGHT
      The specific point at the bottom-right corner of the bounding rectangle.
    • CENTER

      public static final AlignmentType CENTER
      The specific point at the very center of the bounding rectangle.
  • Method Details

    • values

      public static AlignmentType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AlignmentType 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 name
      NullPointerException - if the argument is null