|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjxl.biff.RecordData
jxl.biff.WritableRecordData
jxl.biff.XFRecord
jxl.write.biff.CellXFRecord
A cell XF Record
| Field Summary |
| Fields inherited from class jxl.biff.XFRecord |
biff7, biff8, cell, formatIndex, style |
| Fields inherited from class jxl.biff.WritableRecordData |
maxRecordLength |
| Constructor Summary | |
protected |
CellXFRecord(CellFormat format)
A public copy constructor which can be used for copy formats between different sheets |
protected |
CellXFRecord(FontRecord fnt,
DisplayFormat form)
Constructor |
| Method Summary | |
void |
setAlignment(Alignment a)
Sets the alignment for the cell |
void |
setBackground(Colour c,
Pattern p)
Sets the background for the cell |
void |
setBorder(Border b,
BorderLineStyle ls,
Colour c)
Sets the border style for cells with this format |
void |
setIndentation(int i)
Sets the indentation of the cell text |
void |
setLocked(boolean l)
Sets whether or not this XF record locks the cell |
void |
setOrientation(Orientation o)
Sets the text orientation for cells with this style |
void |
setShrinkToFit(boolean s)
Sets the shrink to fit flag |
void |
setVerticalAlignment(VerticalAlignment va)
Sets the vertical alignment for cells with this style |
void |
setWrap(boolean w)
Sets the text wrapping for cells with this style. |
| Methods inherited from class jxl.biff.WritableRecordData |
getBytes |
| Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected CellXFRecord(FontRecord fnt,
DisplayFormat form)
fnt - the fontform - the formatprotected CellXFRecord(CellFormat format)
| Method Detail |
public void setAlignment(Alignment a)
throws WriteException
a - the alignment
WriteException
public void setBackground(Colour c,
Pattern p)
throws WriteException
c - the background colourp - the background patter
WriteException
public void setLocked(boolean l)
throws WriteException
l - the locked flag
WriteException
public void setIndentation(int i)
throws WriteException
i - the indentation
WriteException
public void setShrinkToFit(boolean s)
throws WriteException
WriteException
public void setVerticalAlignment(VerticalAlignment va)
throws WriteException
va - the vertical alignment
WriteException
public void setOrientation(Orientation o)
throws WriteException
o - the orientation
WriteException
public void setWrap(boolean w)
throws WriteException
w - the wrap
WriteException
public void setBorder(Border b,
BorderLineStyle ls,
Colour c)
throws WriteException
b - the borderls - the line for the specified border
WriteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||