FunctionAbsFunction, BodyStartFunction, FromNearestSpecifiedValueFunction, FromParentFunction, FromTableColumnFunction, InheritedPropFunction, LabelEndFunction, MaxFunction, MinFunction, OCAColorFunction, ProportionalColumnWidthFunctionpublic abstract class FunctionBase extends java.lang.Object implements Function
| Constructor | Description |
|---|---|
FunctionBase() |
| Modifier and Type | Method | Description |
|---|---|---|
Property |
getOptionalArgDefault(int index,
PropertyInfo pi) |
|
int |
getOptionalArgsCount() |
|
PercentBase |
getPercentBase() |
|
protected Property |
getPropertyName(PropertyInfo pi) |
|
boolean |
hasVariableArgs() |
Determine if function allows variable arguments.
|
eval, getRequiredArgsCountpublic int getOptionalArgsCount()
getOptionalArgsCount in interface Functionpublic Property getOptionalArgDefault(int index, PropertyInfo pi) throws PropertyException
getOptionalArgDefault in interface Functionindex - of optional argumentpi - property information instance that applies to property being evaluatedPropertyException - if index is greater than or equal to optional args countpublic boolean hasVariableArgs()
hasVariableArgs in interface Functionpublic PercentBase getPercentBase()
getPercentBase in interface Functionprotected final Property getPropertyName(PropertyInfo pi)
pi - property information instance that applies to property being evaluatedCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.