public class FillItemDataset extends JRFillElementDataset
Modifier and Type | Field and Description |
---|---|
protected byte |
evaluation |
protected JRFillExpressionEvaluator |
evaluator |
protected FillItemData |
itemData |
datasetRun, incrementGroup, parent, resetGroup
Constructor and Description |
---|
FillItemDataset(FillItemData itemData,
JRFillObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
collectExpressions(JRExpressionCollector collector) |
protected void |
customEvaluate(JRCalculator calculator)
Evaluates the expressions associated with the dataset.
|
protected void |
customIncrement()
Increments the dataset by collecting the result of the expression
evaluation.
|
protected void |
customInitialize()
Initializes the element dataset.
|
byte |
getEvaluation() |
void |
increment() |
void |
setEvaluation(byte evaluation) |
clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getFillDataset, getFiller, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getLocale, getResetGroup, getResetTypeValue, getTimeZone, initialize, setBand
protected final FillItemData itemData
protected JRFillExpressionEvaluator evaluator
protected byte evaluation
public FillItemDataset(FillItemData itemData, JRFillObjectFactory factory)
protected void customEvaluate(JRCalculator calculator) throws JRExpressionEvalException
JRFillElementDataset
Usually, the result of the evaluation would be preserved so that it is
used in JRFillElementDataset.customIncrement()
customEvaluate
in class JRFillElementDataset
calculator
- used to evaluate expressionsJRExpressionEvalException
- any exception that occurs while
evaluating expressionsprotected void customIncrement()
JRFillElementDataset
customIncrement
in class JRFillElementDataset
protected void customInitialize()
JRFillElementDataset
The dataset is initialized before being used and after each time the dataset gets reset.
customInitialize
in class JRFillElementDataset
JRFillElementDataset.getResetTypeValue()
public void collectExpressions(JRExpressionCollector collector)
public void increment()
increment
in class JRFillElementDataset
public byte getEvaluation()
public void setEvaluation(byte evaluation)
evaluation
- the evaluation to setCopyright © 2016. All rights reserved.