public class BasicIDARECell extends Object implements IDARECell
BasicIDAREWorkbook
.IDARECell.CellType
Constructor and Description |
---|
BasicIDARECell(IDARECell.CellType type,
BasicIDARERow containingRow)
Basic Constructor indicating the containing row and the type of the cell
|
BasicIDARECell(IDARECell.CellType type,
String value,
BasicIDARERow containingRow)
Basic Constructor indicating the containing row and the type of the cell, along with the value to be stored.
|
Modifier and Type | Method and Description |
---|---|
IDARECell.CellType |
getCellType()
Get the Cell Type of
|
int |
getColumnIndex()
Get the index of the column of this cell.
|
String |
getFormattedCellValue()
Get a string representation of the value of this cell (regardless what this cell actually represents).
|
double |
getNumericCellValue()
Get the Numeric Value of this cell, if it can be converted to numeric.
|
String |
getStringCellValue()
Get the string cell value, if the cell is a string cell.
|
void |
setValue(String value)
Set the value (this is unchecked wrt the type defined).
|
public BasicIDARECell(IDARECell.CellType type, BasicIDARERow containingRow)
type
- the CellType of the cellcontainingRow
- The Row containing this cellpublic BasicIDARECell(IDARECell.CellType type, String value, BasicIDARERow containingRow)
type
- the CellType of this cellvalue
- the value of this cellcontainingRow
- the row containing this cellpublic IDARECell.CellType getCellType()
IDARECell
getCellType
in interface IDARECell
IDARECell
public int getColumnIndex()
IDARECell
getColumnIndex
in interface IDARECell
public double getNumericCellValue()
IDARECell
getNumericCellValue
in interface IDARECell
public String getStringCellValue()
IDARECell
getStringCellValue
in interface IDARECell
public String getFormattedCellValue()
IDARECell
getFormattedCellValue
in interface IDARECell
public void setValue(String value)
value
- the value this Cell should haveCopyright © 2018. All rights reserved.