|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.expressions.AbstractExpression
A baseclass for simple, non-positionally parametrized expressions.
| Constructor Summary | |
protected |
AbstractExpression()
|
| Method Summary | |
java.lang.Object |
clone()
Clones the expression, expression should be reinitialized after the cloning. |
protected DataRow |
getDataRow()
Returns the current DataRow. |
Expression |
getInstance()
Return a new instance of this expression. |
java.lang.String |
getName()
Returns the name of the expression. |
protected java.util.Locale |
getParentLocale()
|
protected org.jfree.util.Configuration |
getReportConfiguration()
|
protected ResourceBundleFactory |
getResourceBundleFactory()
|
ExpressionRuntime |
getRuntime()
|
boolean |
isDeepTraversing()
A deep-traversing expression declares that it should receive updates from all subreports. |
boolean |
isPrecompute()
Returns, whether the expression will be precomputed. |
boolean |
isPreserve()
Checks, whether the expression's result should be preserved in the precomputed value registry. |
void |
setDeepTraversing(boolean deepTraversing)
Defines, whether the expression is deep-traversing. |
void |
setName(java.lang.String name)
Sets the name of the expression. |
void |
setPrecompute(boolean precompute)
Defines, whether the expression will be precomputed. |
void |
setPreserve(boolean preserve)
Defines, whether the expression's result should be preserved in the precomputed value registry. |
void |
setRuntime(ExpressionRuntime runtime)
Defines the DataRow used in this expression. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jfree.report.expressions.Expression |
computeValue |
| Constructor Detail |
protected AbstractExpression()
| Method Detail |
public java.lang.String getName()
getName in interface Expressionpublic void setName(java.lang.String name)
setName in interface Expressionname - the name.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
Expression maintain no state, cloning is done at the beginning of the report processing to disconnect the used expression from any other object space.
clone in interface Expressionjava.lang.CloneNotSupportedException - this should never happen.public Expression getInstance()
getInstance in interface Expressionpublic void setRuntime(ExpressionRuntime runtime)
setRuntime in interface Expressionruntime - the runtime information for the expressionpublic ExpressionRuntime getRuntime()
protected DataRow getDataRow()
DataRow.
protected ResourceBundleFactory getResourceBundleFactory()
protected org.jfree.util.Configuration getReportConfiguration()
protected java.util.Locale getParentLocale()
public boolean isPrecompute()
Expression
isPrecompute in interface Expressionpublic void setPrecompute(boolean precompute)
Expression
setPrecompute in interface Expressionprecompute - true, if the expression is precomputed, false otherwise.public boolean isDeepTraversing()
Expression
isDeepTraversing in interface Expressionpublic void setDeepTraversing(boolean deepTraversing)
Expression
setDeepTraversing in interface ExpressiondeepTraversing - true, if the expression is deep-traversing, false
otherwise.public boolean isPreserve()
Expression
isPreserve in interface Expressionpublic void setPreserve(boolean preserve)
Expression
setPreserve in interface Expressionpreserve - true, if the expression's results should be preserved,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||