Package com.luciad.format.nvg.model
Enum Class ELcdNVGHorizontalAlignment
- All Implemented Interfaces:
Serializable
,Comparable<ELcdNVGHorizontalAlignment>
,Constable
Horizontal alignment enumeration (center, right or left). Horizontal and
vertical
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 ELcdNVGHorizontalAlignment
Convert the given string to his correspondingELcdNVGHorizontalAlignment
.toString()
static String
toValue
(ELcdNVGHorizontalAlignment aValue) Convert the given text alignment to his string representation.value()
Get the textual value of this text alignment.static ELcdNVGHorizontalAlignment
Returns the enum constant of this class with the specified name.static ELcdNVGHorizontalAlignment[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CENTER
Center text alignment element. The anchor point is in the center along the x axis of the text bounding box. -
RIGHT
Right text alignment element. The anchor point is on the right of the text bounding box. -
LEFT
Left text alignment element. The anchor point is on the left 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 text alignment.- Returns:
- The textual value of this text alignment.
-
toString
- Overrides:
toString
in classEnum<ELcdNVGHorizontalAlignment>
-
fromValue
Convert the given string to his correspondingELcdNVGHorizontalAlignment
.- Parameters:
aValue
- The string representing a horizontal alignment.- Returns:
- The given string as
ELcdNVGHorizontalAlignment
.
-
toValue
Convert the given text alignment to his string representation.- Parameters:
aValue
- The text alignment to convert.- Returns:
- The given text alignment as string representation.
-