Enum Class VerticalPosition
- All Implemented Interfaces:
Serializable,Comparable<VerticalPosition>,Constable
Represents the vertical alignment of a frame relative to a specific area.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe top corner of the frame is positioned below the reference area.The bottom of the frame is aligned with the reference area.The y attribute associated with the frame element specifies the vertical position of the frame.The middle of the frame is aligned with the reference area.None.The top of the frame is aligned with the reference area. -
Method Summary
Modifier and TypeMethodDescriptionstatic VerticalPositionReturns the enum constant of this class with the specified name.static VerticalPosition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
The top of the frame is aligned with the reference area. -
MIDDLE
The middle of the frame is aligned with the reference area. -
BOTTOM
The bottom of the frame is aligned with the reference area. -
FROM_TOP
The y attribute associated with the frame element specifies the vertical position of the frame. Otherwise, the y attribute is ignored for text documents. -
BELOW
The top corner of the frame is positioned below the reference area. -
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
-