Interface IDARECell
-
- All Known Implementing Classes:
BasicIDARECell
public interface IDARECell
A general class of cells in a Workbook used for IDARE.- Author:
- Thomas Pfau
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IDARECell.CellType
Different Types of Cells that can be available.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IDARECell.CellType
getCellType()
Get the Cell Type ofint
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.
-
-
-
Method Detail
-
getCellType
IDARECell.CellType getCellType()
Get the Cell Type of- Returns:
- the Type of the Cell (defined by the static definitions in
IDARECell
-
getColumnIndex
int getColumnIndex()
Get the index of the column of this cell.- Returns:
- the column index
-
getNumericCellValue
double getNumericCellValue()
Get the Numeric Value of this cell, if it can be converted to numeric. Can throw exceptions if the contained value is either not a parsable double or the Cell Type is String.- Returns:
- the numeric value of this cell
-
getStringCellValue
String getStringCellValue()
Get the string cell value, if the cell is a string cell. Can throw exceptions if the cell type is numeric.- Returns:
- the string cell value.
-
getFormattedCellValue
String getFormattedCellValue()
Get a string representation of the value of this cell (regardless what this cell actually represents).- Returns:
- a String representing the value of this cell.
-
-