|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.psu.geovista.app.spreadsheet.functions.Function
edu.psu.geovista.app.spreadsheet.functions.FunctionSP
| Field Summary |
| Fields inherited from class edu.psu.geovista.app.spreadsheet.functions.Function |
owner |
| Constructor Summary | |
FunctionSP()
|
|
| Method Summary | |
protected abstract java.lang.Number |
doFun(Node node)
|
java.lang.Number |
evaluate(Node node)
This should be implemented in each function. |
abstract java.lang.String |
getDescription()
Return the description of the function |
abstract java.lang.String |
getUsage()
Return the usage of the function |
| Methods inherited from class edu.psu.geovista.app.spreadsheet.functions.Function |
checkParamsExist, getFirst, getOwner, getRangeArea, getSingleParameter, getSupportFuntion, isRange, processColonNode, requireParams, setOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FunctionSP()
| Method Detail |
public java.lang.Number evaluate(Node node)
throws ParserException,
NoReferenceException
Function
evaluate in class Functionnode - the function node starting with the funciton name
with a chain of parameters
ParserException
NoReferenceException
protected abstract java.lang.Number doFun(Node node)
throws ParserException,
NoReferenceException
ParserException
NoReferenceExceptionpublic abstract java.lang.String getUsage()
Function
getUsage in class Functionpublic abstract java.lang.String getDescription()
Function
getDescription in class Function
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||