public enum HorizontalTextAlignment extends java.lang.Enum<HorizontalTextAlignment> implements INativeEnum
| Enum Constant and Description |
|---|
Centered
Centered alignment.
|
Justified
Justified alignment.
|
Left
Left alignment.
|
Right
Right alignment.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<HorizontalTextAlignment> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static HorizontalTextAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorizontalTextAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorizontalTextAlignment Left
public static final HorizontalTextAlignment Centered
public static final HorizontalTextAlignment Right
public static final HorizontalTextAlignment Justified
public static HorizontalTextAlignment[] values()
for (HorizontalTextAlignment c : HorizontalTextAlignment.values()) System.out.println(c);
public static HorizontalTextAlignment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getNativeValue()
getNativeValue in interface INativeEnumpublic java.lang.String getConstantName()
getConstantName in interface INativeEnumpublic static java.util.Optional<HorizontalTextAlignment> fromNativeValue(int nativeValue)