AbsFunction
, BodyStartFunction
, FromNearestSpecifiedValueFunction
, FromParentFunction
, FromTableColumnFunction
, FunctionBase
, InheritedPropFunction
, LabelEndFunction
, MaxFunction
, MinFunction
, OCAColorFunction
, ProportionalColumnWidthFunction
public interface Function
Modifier and Type | Method | Description |
---|---|---|
Property |
eval(Property[] args,
PropertyInfo pi) |
Evaluate the function
|
Property |
getOptionalArgDefault(int index,
PropertyInfo pi) |
|
int |
getOptionalArgsCount() |
|
PercentBase |
getPercentBase() |
|
int |
getRequiredArgsCount() |
|
boolean |
hasVariableArgs() |
Determine if function allows variable arguments.
|
int getRequiredArgsCount()
int getOptionalArgsCount()
Property getOptionalArgDefault(int index, PropertyInfo pi) throws PropertyException
index
- of optional argumentpi
- property information instance that applies to property being evaluatedPropertyException
- if index is greater than or equal to optional args countboolean hasVariableArgs()
PercentBase getPercentBase()
Property eval(Property[] args, PropertyInfo pi) throws PropertyException
args
- an array of Properties that should be evaluatedpi
- property information instance that applies to property being evaluatedPropertyException
- for problems when evaluating the functionCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.