Package jxl.write
Class Formula
java.lang.Object
jxl.biff.RecordData
jxl.biff.WritableRecordData
jxl.write.biff.CellValue
jxl.write.biff.FormulaRecord
jxl.write.Formula
- All Implemented Interfaces:
jxl.biff.ByteData,jxl.biff.FormulaData,Cell,WritableCell
A cell, created by user applications, which contains a numerical value
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the formulaFormula(int c, int r, String form, CellFormat st) Constructs a formula -
Method Summary
Modifier and TypeMethodDescriptioncopyTo(int col, int row) Implementation of the deep copy functionMethods inherited from class jxl.write.biff.FormulaRecord
getContents, getData, getFormulaData, getTypeMethods inherited from class jxl.write.biff.CellValue
addCellFeatures, getCellFeatures, getCellFormat, getColumn, getRow, getSheet, getWritableCellFeatures, isHidden, removeCellFeatures, removeComment, removeDataValidation, setCellFeatures, setCellFormatMethods inherited from class jxl.biff.WritableRecordData
getBytesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jxl.Cell
getCellFeatures, getCellFormat, getColumn, getContents, getRow, getType, isHiddenMethods inherited from interface jxl.write.WritableCell
getWritableCellFeatures, setCellFeatures, setCellFormat
-
Constructor Details
-
Formula
Constructs the formula- Parameters:
c- the columnr- the rowform- the formula
-
Formula
Constructs a formula- Parameters:
c- the columnr- the rowform- the formulast- the cell style
-
-
Method Details
-
copyTo
Implementation of the deep copy function- Specified by:
copyToin interfaceWritableCell- Overrides:
copyToin classjxl.write.biff.FormulaRecord- Parameters:
col- the column which the new cell will occupyrow- the row which the new cell will occupy- Returns:
- a copy of this cell, which can then be added to the sheet
-