|
||||||||||
| 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.write.biff.CellValue
Abstract class which stores the common data used for cells, such as row, column and formatting information. Any record which directly represents the contents of a cell, such as labels and numbers, are derived from this class data store
| Field Summary |
| Fields inherited from class jxl.biff.WritableRecordData |
maxRecordLength |
| Constructor Summary | |
protected |
CellValue(Type t,
Cell c)
Constructor used when creating a writable cell from a read-only cell (when copying a workbook) |
protected |
CellValue(Type t,
int c,
int r)
Constructor used when building writable cells from the Java API |
protected |
CellValue(Type t,
int c,
int r,
CellFormat st)
Overloaded constructor used when building writable cells from the Java API which also takes a format |
protected |
CellValue(Type t,
int c,
int r,
CellValue cv)
Copy constructor |
| Method Summary | |
void |
addCellFeatures()
Handles any addition cell features, such as comments or data validation. |
CellFeatures |
getCellFeatures()
Accessor for the cell features |
CellFormat |
getCellFormat()
API method which gets the format applied to this cell |
int |
getColumn()
Returns the column number of this cell |
byte[] |
getData()
Gets the data to write to the output file |
int |
getRow()
Returns the row number of this cell |
protected jxl.write.biff.WritableSheetImpl |
getSheet()
Accessor for the sheet containing this cell |
WritableCellFeatures |
getWritableCellFeatures()
Accessor for the cell features |
boolean |
isHidden()
Indicates whether or not this cell is hidden, by virtue of either the entire row or column being collapsed |
void |
removeComment(Comment c)
Called by the cell features to remove a comment |
void |
setCellFeatures(WritableCellFeatures cf)
Sets the cell features |
void |
setCellFormat(CellFormat cf)
An API function which sets the format to apply to this cell |
| 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jxl.write.WritableCell |
copyTo |
| Methods inherited from interface jxl.Cell |
getContents, getType |
| Constructor Detail |
protected CellValue(Type t,
int c,
int r)
c - the columnt - the type indicatorr - the row
protected CellValue(Type t,
Cell c)
c - the cell to clonet - the type of this cell
protected CellValue(Type t,
int c,
int r,
CellFormat st)
c - the columnt - the cell typer - the rowst - the format to apply to this cell
protected CellValue(Type t,
int c,
int r,
CellValue cv)
c - the columnt - the cell typer - the rowcv - the value to copy| Method Detail |
public void setCellFormat(CellFormat cf)
setCellFormat in interface WritableCellcf - the format to apply to this cellpublic int getRow()
getRow in interface Cellpublic int getColumn()
getColumn in interface Cellpublic boolean isHidden()
isHidden in interface Cellpublic byte[] getData()
getData in class WritableRecordDatapublic CellFormat getCellFormat()
getCellFormat in interface Cellprotected jxl.write.biff.WritableSheetImpl getSheet()
public CellFeatures getCellFeatures()
getCellFeatures in interface Cellpublic WritableCellFeatures getWritableCellFeatures()
getWritableCellFeatures in interface WritableCellpublic void setCellFeatures(WritableCellFeatures cf)
setCellFeatures in interface WritableCellcf - the cell featurespublic final void addCellFeatures()
public final void removeComment(Comment c)
c - the comment to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||