|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjxl.biff.RecordData
jxl.read.biff.CellValue
jxl.read.biff.BaseSharedFormulaRecord
jxl.read.biff.SharedDateFormulaRecord
A number formula record, manufactured out of the Shared Formula "optimization"
| Constructor Summary | |
SharedDateFormulaRecord(SharedNumberFormulaRecord nfr,
FormattingRecords fr,
boolean nf,
SheetImpl si,
int pos)
Constructs this number formula |
|
| Method Summary | |
java.lang.String |
getContents()
Accessor for the contents as a string |
java.util.Date |
getDate()
Gets the date |
java.text.DateFormat |
getDateFormat()
Gets the DateFormat used to format the cell. |
byte[] |
getFormulaData()
Gets the raw bytes for the formula. |
CellType |
getType()
Accessor for the cell type |
double |
getValue()
Accessor for the value |
boolean |
isTime()
Indicates whether the date value contained in this cell refers to a date, or merely a time |
| Methods inherited from class jxl.read.biff.BaseSharedFormulaRecord |
getExternalSheet, getFormula, getNameTable, getRecord, getTokens |
| Methods inherited from class jxl.read.biff.CellValue |
getCellFeatures, getCellFormat, getColumn, getRow, getSheet, getXFIndex, isHidden, setCellFeatures |
| Methods inherited from class jxl.biff.RecordData |
getCode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jxl.Cell |
getCellFeatures, getCellFormat, getColumn, getRow, isHidden |
| Methods inherited from interface jxl.FormulaCell |
getFormula |
| Constructor Detail |
public SharedDateFormulaRecord(SharedNumberFormulaRecord nfr,
FormattingRecords fr,
boolean nf,
SheetImpl si,
int pos)
nfr - the number formula recordsfr - the formatting recordsnf - flag indicating whether this uses the 1904 date systemsi - the sheetpos - the position| Method Detail |
public double getValue()
public java.lang.String getContents()
getContents in interface Cellpublic CellType getType()
getType in interface Cell
public byte[] getFormulaData()
throws FormulaException
getFormulaData in interface FormulaDataFormulaExceptionpublic java.util.Date getDate()
getDate in interface DateCellpublic boolean isTime()
isTime in interface DateCellpublic java.text.DateFormat getDateFormat()
getDateFormat in interface DateCell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||