Package com.luciad.format.nvg.model
Enum Class ELcdNVGVerticalAlignment
- All Implemented Interfaces:
Serializable
,Comparable<ELcdNVGVerticalAlignment>
,Constable
Vertical alignment enumeration (middle, top or bottom). Vertical and
horizontal
alignments
are used to determine the geo-referenced anchor point (x, y) with respect to a bounding box containing all text.- Since:
- 2015.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ELcdNVGVerticalAlignment
Convert the given string to his correspondingELcdNVGVerticalAlignment
.toString()
static String
toValue
(ELcdNVGVerticalAlignment aValue) Convert the given vertical alignment to his string representation.value()
Get the textual value of this vertical alignment.static ELcdNVGVerticalAlignment
Returns the enum constant of this class with the specified name.static ELcdNVGVerticalAlignment[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MIDDLE
Middle text alignment element. The anchor point is in the center along the y axis of the text bounding box. -
TOP
Top text alignment element. The anchor point is on the top of the text bounding box. -
BOTTOM
Bottom text alignment element. The anchor point is on the bottom of the text bounding box.
-
-
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
-
value
Get the textual value of this vertical alignment.- Returns:
- The textual value of this vertical alignment.
-
toString
- Overrides:
toString
in classEnum<ELcdNVGVerticalAlignment>
-
fromValue
Convert the given string to his correspondingELcdNVGVerticalAlignment
.- Parameters:
aValue
- The string representing a vertical alignment.- Returns:
- The given string as
ELcdNVGVerticalAlignment
.
-
toValue
Convert the given vertical alignment to his string representation.- Parameters:
aValue
- The vertical alignment to convert.- Returns:
- The given vertical alignment as string representation.
-