|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillElementDataset
public abstract class JRFillElementDataset
Field Summary | |
---|---|
protected JRFillDatasetRun |
datasetRun
|
protected JRGroup |
incrementGroup
|
protected JRElementDataset |
parent
|
protected JRGroup |
resetGroup
|
Constructor Summary | |
---|---|
protected |
JRFillElementDataset(JRElementDataset dataset,
JRFillObjectFactory factory)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
protected abstract void |
customEvaluate(JRCalculator calculator)
|
protected abstract void |
customIncrement()
|
protected abstract void |
customInitialize()
|
protected void |
evaluate(JRCalculator calculator)
|
void |
evaluateDatasetRun(byte evaluation)
|
protected void |
evaluateIncrementWhenExpression(JRCalculator calculator)
|
JRDatasetRun |
getDatasetRun()
Returns the sub dataset run for this chart dataset. |
JRGroup |
getIncrementGroup()
Gets the selected increment group in case of increment type group. |
byte |
getIncrementType()
Returns the increment type. |
JRExpression |
getIncrementWhenExpression()
Returns the "increment when" expression. |
JRFillDataset |
getInputDataset()
|
JRGroup |
getResetGroup()
Gets the selected reset group in case of reset type group. |
byte |
getResetType()
Gets the reset type. |
protected java.util.TimeZone |
getTimeZone()
|
protected void |
increment()
|
protected void |
initialize()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElementDataset |
---|
collectExpressions |
Field Detail |
---|
protected JRElementDataset parent
protected JRGroup resetGroup
protected JRGroup incrementGroup
protected JRFillDatasetRun datasetRun
Constructor Detail |
---|
protected JRFillElementDataset(JRElementDataset dataset, JRFillObjectFactory factory)
Method Detail |
---|
public byte getResetType()
JRElementDataset
getResetType
in interface JRElementDataset
JRVariable
public byte getIncrementType()
JRElementDataset
getIncrementType
in interface JRElementDataset
JRVariable
, since the increment type uses the same
constants as the reset type.public JRGroup getResetGroup()
JRElementDataset
getResetGroup
in interface JRElementDataset
public JRGroup getIncrementGroup()
JRElementDataset
getIncrementGroup
in interface JRElementDataset
protected java.util.TimeZone getTimeZone()
protected void initialize()
protected void evaluate(JRCalculator calculator) throws JRExpressionEvalException
JRExpressionEvalException
protected void evaluateIncrementWhenExpression(JRCalculator calculator) throws JRExpressionEvalException
JRExpressionEvalException
protected void increment()
protected abstract void customInitialize()
protected abstract void customEvaluate(JRCalculator calculator) throws JRExpressionEvalException
JRExpressionEvalException
protected abstract void customIncrement()
public JRDatasetRun getDatasetRun()
JRElementDataset
getDatasetRun
in interface JRElementDataset
public void evaluateDatasetRun(byte evaluation) throws JRException
JRException
public JRFillDataset getInputDataset()
public JRExpression getIncrementWhenExpression()
JRElementDataset
This expression determines whether a dataset will be incremented or not.
The expression (if not null) is evaluated before each increment of the dataset.
The increment will be carried on only when the result of the evaluation is Boolean.TRUE
;
if the result is null or false, the increment will not be performed.
getIncrementWhenExpression
in interface JRElementDataset
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |