public final class HorizontalAlignment extends Object
Enumeration of possible horizontal alignment values.
Modifier and Type | Field and Description |
---|---|
static int |
Center
Center alignment.
|
static int |
Left
Align to left.
|
static int |
None
No alignment (use specified position).
|
static int |
Right
Align to right.
|
Modifier and Type | Method and Description |
---|---|
static int |
parse(String value)
Parses a string to a
enumeration value. |
static String |
toString(int value)
Returns a string representation of the
value. |
public static final int None
No alignment (use specified position).
public static final int Left
Align to left.
public static final int Center
Center alignment.
public static final int Right
Align to right.
public static final String toString(int value)
Returns a string representation of the
value.
HorizontalAlignment
value
- The value to convert.HorizontalAlignment
value.public static final int parse(String value)
Parses a string to a
enumeration value.
HorizontalAlignment
value
- The string to parse.HorizontalAlignment
enumeration value.