public static enum StyleConstants.TextAlignment extends java.lang.Enum<StyleConstants.TextAlignment>
Enum Constant and Description |
---|
ABOVE |
ALONG |
AT_LEFT |
AT_RIGHT |
CENTER |
JUSTIFY |
LEFT |
RIGHT |
UNDER |
Modifier and Type | Method and Description |
---|---|
static StyleConstants.TextAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StyleConstants.TextAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleConstants.TextAlignment CENTER
public static final StyleConstants.TextAlignment LEFT
public static final StyleConstants.TextAlignment RIGHT
public static final StyleConstants.TextAlignment AT_LEFT
public static final StyleConstants.TextAlignment AT_RIGHT
public static final StyleConstants.TextAlignment UNDER
public static final StyleConstants.TextAlignment ABOVE
public static final StyleConstants.TextAlignment JUSTIFY
public static final StyleConstants.TextAlignment ALONG
public static StyleConstants.TextAlignment[] values()
for (StyleConstants.TextAlignment c : StyleConstants.TextAlignment.values()) System.out.println(c);
public static StyleConstants.TextAlignment 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 null