|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.extentech.ExtenXLS.SimpleCellValue
public class SimpleCellValue
a simple implementation of Cell for use in
| Field Summary |
|---|
| Fields inherited from interface com.extentech.ExtenXLS.Cell |
|---|
TYPE_BLANK, TYPE_BOOLEAN, TYPE_DOUBLE, TYPE_FORMULA, TYPE_FP, TYPE_INT, TYPE_STRING |
| Constructor Summary | |
|---|---|
SimpleCellValue(java.lang.Object v,
java.lang.String f,
java.lang.String ca,
java.lang.String s,
int r,
int c,
int fi,
boolean isdate)
default constructor which takes in all the values Dec 15, 2010 |
|
| Method Summary | |
|---|---|
void |
fireParserEvent()
this method will be fired as each record is parsed from an input Spreadsheet Dec 15, 2010 |
java.lang.String |
getCellAddress()
Returns the Address of this Cell as a String. |
int |
getCellType()
|
int |
getColNum()
Returns the column number of this Cell. |
FormatHandle |
getFormatHandle()
|
int |
getFormatId()
Returns the Formatting record ID (FormatId) for this Cell This can be used with 'setFormatId(int i)' to copy the formatting from one Cell to another (e.g. |
java.lang.String |
getFormattedStringVal()
Gets the value of the cell as a String with the number format applied. |
java.lang.String |
getFormattedStringValue()
|
int |
getRowNum()
This is the 1-based row number such as you will see in a spreadsheet UI. |
java.lang.Object |
getVal()
Returns the value of this Cell in the native underlying data type. |
java.lang.String |
getWorkSheetName()
Returns the name of this Cell's WorkSheet as a String. |
boolean |
isDate()
|
void |
setFormatHandle(FormatHandle formatHandle)
|
java.lang.String |
toString()
Returns a String representation of this CellHandle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleCellValue(java.lang.Object v,
java.lang.String f,
java.lang.String ca,
java.lang.String s,
int r,
int c,
int fi,
boolean isdate)
val - formattedVal - celladdress - sheetname - rownum - colnum - formatid - | Method Detail |
|---|
public FormatHandle getFormatHandle()
public void setFormatHandle(FormatHandle formatHandle)
formatHandle - The formatHandle to set.public void fireParserEvent()
public java.lang.String getCellAddress()
Cell
getCellAddress in interface CellCell.getCellAddress()public int getColNum()
Cell
getColNum in interface CellCell.getColNum()public java.lang.String getFormattedStringValue()
Cell.getFormattedStringVal()public int getRowNum()
getRowNum in interface CellCell.getRowNum()public java.lang.Object getVal()
Cell
getVal in interface CellCell.getVal()public java.lang.String getWorkSheetName()
Cell
getWorkSheetName in interface CellCell.getWorkSheetName()public int getFormatId()
Cell
getFormatId in interface CellCell.getFormatId()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int getCellType()
getCellType in interface CellCell.getCellType()public boolean isDate()
isDate in interface CellCell.isDate()public java.lang.String getFormattedStringVal()
getFormattedStringVal in interface Cell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||