|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.format.Alignment
Enumeration class which contains the various alignments for data within a cell
Field Summary | |
private static Alignment[] |
alignments
The list of alignments |
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 |
private java.lang.String |
string
The string description of this alignment |
private int |
value
The internal numerical repreentation of the alignment |
Constructor Summary | |
protected |
Alignment(int val,
java.lang.String s)
Private constructor |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int value
private java.lang.String string
private static Alignment[] alignments
public static Alignment GENERAL
public static Alignment LEFT
public static Alignment CENTRE
public static Alignment RIGHT
public static Alignment FILL
public static Alignment JUSTIFY
Constructor Detail |
protected Alignment(int val, java.lang.String s)
val
- string
- Method Detail |
public int getValue()
public java.lang.String getDescription()
public static Alignment getAlignment(int val)
val
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |