Enum Constant and Description |
---|
CENTER
The content is to be centered in the IP direction.
|
END
The content is to be aligned on the end-edge in the IP direction.
|
INSIDE
If the page-binding edge is on the start-edge, the alignment is "start".
|
JUSTIFY
The content is to be expanded to fill the available width in the IP
direction.
|
OUTSIDE
If the page-binding edge is on the start-edge, the alignment is "end".
|
START
The content is to be aligned on the start-edge in the IP direction.
|
STRING
The content will be aligned on specified string.
|
Modifier and Type | Method and Description |
---|---|
static TextAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextAlign START
public static final TextAlign CENTER
public static final TextAlign END
public static final TextAlign JUSTIFY
public static final TextAlign INSIDE
public static final TextAlign OUTSIDE
public static final TextAlign STRING
public static TextAlign[] values()
for (TextAlign c : TextAlign.values()) System.out.println(c);
public static TextAlign 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 nullThis documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.