Enum Class Alignment
- All Implemented Interfaces:
Serializable,Comparable<Alignment>,Constable
Represents the shape edge where a glue point is positioned.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe position of the glue point is specified relative to the bottom-left corner of the shape's bounding box.The position of the glue point is specified relative to the bottom-right corner of the shape's bounding box.The position of the glue point is specified relative to the bottom-right corner of the shape's bounding box.The position of the glue point is specified relative to the center of the shape's bounding box.The position of the glue point is specified relative to the left of the shape's bounding box.None.Represents the shape edge where a glue point is positioned.The position of the glue point is specified relative to the top of the shape's bounding box.The position of the glue point is specified relative to the top-left corner of the shape's bounding box.The position of the glue point is specified relative to the top-rght corner of the shape's bounding box. -
Method Summary
-
Enum Constant Details
-
TOP_LEFT
The position of the glue point is specified relative to the top-left corner of the shape's bounding box. -
TOP
The position of the glue point is specified relative to the top of the shape's bounding box. -
TOP_RIGHT
The position of the glue point is specified relative to the top-rght corner of the shape's bounding box. -
LEFT
The position of the glue point is specified relative to the left of the shape's bounding box. -
CENTER
The position of the glue point is specified relative to the center of the shape's bounding box. -
RIGHT
Represents the shape edge where a glue point is positioned. -
BOTTOM_LEFT
The position of the glue point is specified relative to the bottom-left corner of the shape's bounding box.The position of the glue point is specified relative to the bottom-right corner of the shape's bounding box. -
BOTTOM_RIGHT
The position of the glue point is specified relative to the bottom-right corner of the shape's bounding box. -
NONE
None.
-
-
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
-