|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Spreadsheet.Cell
Returns information about a spreadsheet cell.
This interface is an API only. Do not implement it yourself.
| Method Summary | |
|---|---|
int |
getColumnIndex()
Returns the cell index (0 based) within the row. |
java.lang.Object |
getConstantValue()
Returns the constant value of the cell, as defined in the spreadsheet. |
java.lang.String |
getErrorText()
Returns the error text of the cell, as defined in the spreadsheet. |
java.lang.String |
getExpressionText()
Returns the expression text of the cell, as parsed from the spreadsheet by AFC. |
Spreadsheet.Row |
getRow()
Returns the row this cell is part of. |
java.lang.Object |
getValue()
Returns the value of the cell, as saved in the spreadsheet. |
| Methods inherited from interface org.formulacompiler.spreadsheet.Spreadsheet.Range |
|---|
cells, contains, getBottomRight, getTopLeft |
| Methods inherited from interface org.formulacompiler.compiler.Describable |
|---|
describe, toString |
| Method Detail |
|---|
Spreadsheet.Row getRow()
int getColumnIndex()
java.lang.Object getConstantValue()
null if the cell is empty, an error value, or computed by a
formula.getValue()java.lang.String getErrorText()
null if the cell is not an error cell, or computed by a
formula.getValue()java.lang.Object getValue()
null if the cell is empty.getConstantValue()
java.lang.String getExpressionText()
throws SpreadsheetException
null if the cell is empty or
constant.
SpreadsheetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||