| |
|
| java.lang.Object org.jfree.report.function.AbstractExpression org.jfree.report.function.FormulaExpression
FormulaExpression | final public class FormulaExpression extends AbstractExpression (Code) | | The formula expression is used to evaluate a LibFormula/OpenFormula expression. There is generally no need to
reference this class directly, as this expression is used automatically if a formula is specified in a element,
style-expression or common expression.
author: Thomas Morgner |
FormulaExpression | public FormulaExpression()(Code) | | Default Constructor.
|
getFormula | public String getFormula()(Code) | | Returns the formula (incuding the optional namespace) as defined by the OpenFormula standard.
the formula as text. |
getFormulaExpression | public String getFormulaExpression()(Code) | | Returns the formula expression.
the formula expression. |
getFormulaNamespace | public String getFormulaNamespace()(Code) | | Returns the formula namespace. If the formula specified by the user starts with "=", then the namespace
"report" is assumed.
the namespace of the formula. |
getValue | public Object getValue()(Code) | | Return the computed value of the formula.
the value of the function. |
setFormula | public void setFormula(String formula)(Code) | | Defines the formula (incuding the optional namespace) as defined by the OpenFormula standard.
Parameters: formula - the formula as text. |
|
|
|