Function
AbsFunction
, BodyStartFunction
, FromNearestSpecifiedValueFunction
, FromParentFunction
, FromTableColumnFunction
, InheritedPropFunction
, LabelEndFunction
, MaxFunction
, MinFunction
, OCAColorFunction
, ProportionalColumnWidthFunction
public 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, getRequiredArgsCount
public int getOptionalArgsCount()
getOptionalArgsCount
in interface Function
public Property getOptionalArgDefault(int index, PropertyInfo pi) throws PropertyException
getOptionalArgDefault
in interface Function
index
- 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 Function
public PercentBase getPercentBase()
getPercentBase
in interface Function
protected final Property getPropertyName(PropertyInfo pi)
pi
- property information instance that applies to property being evaluatedCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.