Alignment
public class Alignment
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static Alignment |
CENTRE |
Data in cells with this alignment will be centred
|
static Alignment |
FILL |
Data in cells with this alignment will fill the cell
|
static Alignment |
GENERAL |
The standard alignment
|
static Alignment |
JUSTIFY |
Data in cells with this alignment will be justified
|
static Alignment |
LEFT |
Data cells with this alignment will appear at the left hand edge of the
cell
|
static Alignment |
RIGHT |
Data in cells with this alignment will be right aligned
|
Modifier and Type | Method | Description |
---|---|---|
static Alignment |
getAlignment(int val) |
Gets the alignment from the value
|
java.lang.String |
getDescription() |
Gets the string description of this alignment
|
int |
getValue() |
Gets the value of this alignment.
|
public static Alignment GENERAL
public static Alignment LEFT
public static Alignment CENTRE
public static Alignment RIGHT
public static Alignment FILL
public static Alignment JUSTIFY
public int getValue()
public java.lang.String getDescription()
public static Alignment getAlignment(int val)
val
-