Enum AlignmentType
- All Implemented Interfaces:
Serializable
,Comparable<AlignmentType>
,Constable
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 ConstantDescriptionThe 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 TypeMethodDescriptionstatic AlignmentType
Returns the enum constant of this type with the specified name.static AlignmentType[]
values()
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
-
Enum Constant Details
-
MIDDLE_LEFT
The specific point at the middle of the left side of bounding rectangle. -
MIDDLE_RIGHT
The specific point at the middle of the right side of bounding rectangle. -
TOP_CENTER
The specific point at the center of the top side of the bounding rectangle. -
TOP_LEFT
The specific point at the top-left corner of the bounding rectangle. -
TOP_RIGHT
The specific point at the top-right corner of the bounding rectangle. -
BOTTOM_CENTER
The specific point at the middle of the bottom side of bounding rectangle. -
BOTTOM_LEFT
The specific point at the bottom-left corner of the bounding rectangle. -
BOTTOM_RIGHT
The specific point at the bottom-right corner of the bounding rectangle. -
CENTER
The specific point at the very center of the bounding rectangle.
-
-
Method Details
-
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
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
-