|
|||||||||||
| 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.FunctionAverage
| Field Summary |
| Fields inherited from class edu.psu.geovista.app.spreadsheet.functions.Function |
owner |
| Constructor Summary | |
FunctionAverage()
|
|
| Method Summary | |
java.lang.Number |
evaluate(Node node)
This should be implemented in each function. |
java.lang.String |
getDescription()
Return the description of the function |
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 FunctionAverage()
| 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
NoReferenceExceptionpublic java.lang.String getUsage()
Function
getUsage in class Functionpublic 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 | ||||||||||