jxl.write
Class  Number
java.lang.Object
  |
  +--jxl.biff.RecordData
        |
        +--jxl.biff.WritableRecordData
              |
              +--jxl.write.biff.CellValue
                    |
                    +--jxl.write.biff.NumberRecord
                          |
                          +--jxl.write.Number
- All Implemented Interfaces: 
- ByteData, Cell, NumberCell, WritableCell
- public class Number- extends NumberRecord- implements WritableCell, NumberCell
A cell, created by user applications, which contains a numerical value
 
 
 
 
| Constructor Summary | 
| 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
 | 
 
| Method Summary | 
|  void | setValue(double val)Sets the numerical value for this cell
 | 
 
 
| Methods inherited from class jxl.write.biff.CellValue | 
| decrementColumn, decrementRow, getCellFormat, getColumn, getRow, getXFIndex, incrementColumn, incrementRow, isHidden, isReferenced, setCellDetails, setCellFormat | 
 
 
 
| Methods inherited from class java.lang.Object | 
| , clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait | 
 
 
 
 
Number
public 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.  By default, the 
 cell will display with an accuracy of 3 decimal places- 
- Parameters:
- c-
- r-
- val-
 
Number
public 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.
 The CellFormat may specify font information and number format information 
 such as the number of decimal places- 
- Parameters:
- c-
- r-
- val-
- st-
 
Number
public Number(NumberCell nc)
- Constructor used internally by the application when making a writable
 copy of a spreadsheet that has been read in- 
- Parameters:
- nc-
 
setValue
public void setValue(double val)
- Sets the numerical value for this cell- 
- Overrides:
- setValuein class- NumberRecord
 
- 
- Parameters:
- val-