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.
|
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 HorizontalAlignment value.
value
- The value to convert.public static final int parse(String value)
Parses a string to a HorizontalAlignment enumeration value.
value
- The string to parse.Copyright © 2020. All rights reserved.