|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jxl.biff.RecordData | +--jxl.biff.WritableRecordData | +--jxl.write.biff.ColumnInfoRecord
Describes the column formatting for a particular column
Field Summary | |
private int |
column
The column number which this format applies to |
private byte[] |
data
The binary data |
private XFRecord |
style
The style for the column |
private int |
width
The width of the column in 1/256 of a character |
private int |
xfIndex
The index for the style of this column |
Fields inherited from class jxl.biff.RecordData |
code, record |
Constructor Summary | |
ColumnInfoRecord(ColumnInfoRecord cir,
int col,
FormattingRecords fr)
Constructor used when copying an existing spreadsheet |
|
ColumnInfoRecord(int col,
int w,
XFRecord xf)
Constructor used when setting column information from the user API |
Method Summary | |
void |
decrementColumn()
Decrements the column. |
XFRecord |
getCellFormat()
Gets the cell format associated with this column info record |
int |
getColumn()
Gets the column this format applies to |
byte[] |
getData()
Gets the binary data to be written to the output file |
(package private) int |
getWidth()
Accessor for the width |
void |
incrementColumn()
Increments the column. |
Methods inherited from class jxl.biff.WritableRecordData |
getBytes |
Methods inherited from class jxl.biff.RecordData |
getCode, getRecord |
Methods inherited from class java.lang.Object |
|
Field Detail |
private byte[] data
private int column
private XFRecord style
private int xfIndex
private int width
Constructor Detail |
public ColumnInfoRecord(int col, int w, XFRecord xf)
w
- the width of the column in characterscol
- the column to formatxf
- the style for the columnpublic ColumnInfoRecord(ColumnInfoRecord cir, int col, FormattingRecords fr)
col
- the column numbercir
- the column info record read infr
- the format recordsMethod Detail |
public int getColumn()
public void incrementColumn()
public void decrementColumn()
int getWidth()
public byte[] getData()
getData
in class WritableRecordData
public XFRecord getCellFormat()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |