org.jfree.formula

Class Formula

public class Formula extends Object implements Serializable, Cloneable

Creation-Date: 31.10.2006, 14:43:05

Author: Thomas Morgner

Constructor Summary
Formula(String formulaText)
Formula(LValue rootReference)
Method Summary
Objectclone()
Objectevaluate()
TypeValuePairevaluateTyped()
LValuegetRootReference()
Returns the root reference for this formula.
voidinitialize(FormulaContext context)

Constructor Detail

Formula

public Formula(String formulaText)

Formula

public Formula(LValue rootReference)

Method Detail

clone

public Object clone()

evaluate

public Object evaluate()

evaluateTyped

public TypeValuePair evaluateTyped()

getRootReference

public LValue getRootReference()
Returns the root reference for this formula. This allows external programms to modify the formula directly.

Returns:

initialize

public void initialize(FormulaContext context)