Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jfree.formula.lvalues.AbstractLValue
org.jfree.formula.lvalues.StaticValue
public class StaticValue
extends AbstractLValue
Constructor Summary | |
| |
|
Method Summary | |
TypeValuePair |
|
Object |
|
Type |
|
void |
|
boolean |
|
String |
|
Methods inherited from class org.jfree.formula.lvalues.AbstractLValue | |
clone , getChildValues , getContext , getValueType , initialize |
public Type getValueType()
This function allows a program traversing the LibFormula object model to know what type this static value is.
- Specified by:
- getValueType in interface LValue
- Overrides:
- getValueType in interface AbstractLValue
- Returns:
- the type of the static value
public void initialize(FormulaContext context) throws EvaluationException
- Specified by:
- initialize in interface LValue
- Overrides:
- initialize in interface AbstractLValue
public boolean isConstant()
Checks, whether the LValue is constant. Constant lvalues always return the same value.
- Specified by:
- isConstant in interface LValue
- Returns: