Cell, NumberCell, WritableCellpublic class Number extends jxl.write.biff.NumberRecord implements WritableCell, NumberCell
| Constructor | Description |
|---|---|
Number(int c,
int r,
double val) |
Constructs a number, which, when added to a spreadsheet, will display the
specified value at the column/row position indicated.
|
Number(int c,
int r,
double val,
CellFormat st) |
Constructs a number, which, when added to a spreadsheet, will display the
specified value at the column/row position with the specified CellFormat.
|
Number(NumberCell nc) |
Constructor used internally by the application when making a writable
copy of a spreadsheet that has been read in
|
| Modifier and Type | Method | Description |
|---|---|---|
WritableCell |
copyTo(int col,
int row) |
Implementation of the deep copy function
|
void |
setValue(double val) |
Sets the numerical value for this cell
|
getCellFeatures, getCellFormat, getColumn, getContents, getRow, getType, isHiddenaddCellFeatures, getCellFeatures, getCellFormat, getColumn, getRow, getSheet, getWritableCellFeatures, isHidden, removeCellFeatures, removeComment, removeDataValidation, setCellFeatures, setCellFormatgetNumberFormat, getValuegetContents, getData, getNumberFormat, getType, getValueequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWritableCellFeatures, setCellFeatures, setCellFormatpublic Number(int c,
int r,
double val)
c - the columnr - the rowval - the valuepublic Number(int c,
int r,
double val,
CellFormat st)
c - the columnr - the rowval - the valuest - the cell formatpublic Number(NumberCell nc)
nc - the cell to copypublic void setValue(double val)
setValue in class jxl.write.biff.NumberRecordval - the valuepublic WritableCell copyTo(int col, int row)
copyTo in interface WritableCellcol - the column which the new cell will occupyrow - the row which the new cell will occupy