|
||||||||||
| 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
jxl.write.biff.NumberRecord
The record which contains numerical values. All values are stored as 64bit IEEE floating point values
| Field Summary |
| Fields inherited from class jxl.biff.WritableRecordData |
maxRecordLength |
| Constructor Summary | |
protected |
NumberRecord(int c,
int r,
double val)
Constructor invoked by the user API |
protected |
NumberRecord(int c,
int r,
double val,
CellFormat st)
Overloaded constructor invoked from the API, which takes a cell format |
protected |
NumberRecord(int c,
int r,
NumberRecord nr)
Copy constructor |
protected |
NumberRecord(NumberCell nc)
Constructor used when copying a workbook |
| Method Summary | |
java.lang.String |
getContents()
Quick and dirty function to return the contents of this cell as a string. |
byte[] |
getData()
Gets the binary data for output to file |
java.text.NumberFormat |
getNumberFormat()
Gets the NumberFormat used to format this cell. |
CellType |
getType()
Returns the content type of this cell |
double |
getValue()
Gets the double contents for this cell. |
void |
setValue(double val)
Sets the value of the contents for this cell |
| Methods inherited from class jxl.write.biff.CellValue |
addCellFeatures, getCellFeatures, getCellFormat, getColumn, getRow, getSheet, getWritableCellFeatures, isHidden, removeComment, setCellFeatures, setCellFormat |
| 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 |
| Constructor Detail |
protected NumberRecord(int c,
int r,
double val)
c - the columnr - the rowval - the value
protected NumberRecord(int c,
int r,
double val,
CellFormat st)
c - the columnr - the rowval - the valuest - the cell formatprotected NumberRecord(NumberCell nc)
nc - the number to copy
protected NumberRecord(int c,
int r,
NumberRecord nr)
c - the columnr - the rownr - the record to copy| Method Detail |
public CellType getType()
public byte[] getData()
getData in class CellValuepublic java.lang.String getContents()
public double getValue()
public void setValue(double val)
val - the new valuepublic java.text.NumberFormat getNumberFormat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||