public enum ELcdNVGHorizontalAlignment extends Enum<ELcdNVGHorizontalAlignment>
vertical
alignments
are used to determine the geo-referenced anchor point (x, y) with respect to a bounding box containing all text.Enum Constant and Description |
---|
CENTER
Center text alignment element.
|
LEFT
Left text alignment element.
|
RIGHT
Right text alignment element.
|
Modifier and Type | Method and Description |
---|---|
static ELcdNVGHorizontalAlignment |
fromValue(String aValue)
Convert the given string to his corresponding
ELcdNVGHorizontalAlignment . |
String |
toString() |
static String |
toValue(ELcdNVGHorizontalAlignment aValue)
Convert the given text alignment to his string representation.
|
String |
value()
Get the textual value of this text alignment.
|
static ELcdNVGHorizontalAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ELcdNVGHorizontalAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ELcdNVGHorizontalAlignment CENTER
public static final ELcdNVGHorizontalAlignment RIGHT
public static final ELcdNVGHorizontalAlignment LEFT
public static ELcdNVGHorizontalAlignment[] values()
for (ELcdNVGHorizontalAlignment c : ELcdNVGHorizontalAlignment.values()) System.out.println(c);
public static ELcdNVGHorizontalAlignment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<ELcdNVGHorizontalAlignment>
public static ELcdNVGHorizontalAlignment fromValue(String aValue)
ELcdNVGHorizontalAlignment
.aValue
- The string representing a horizontal alignment.ELcdNVGHorizontalAlignment
.public static String toValue(ELcdNVGHorizontalAlignment aValue)
aValue
- The text alignment to convert.