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, setBandprotected 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 JRFillElementDatasetcalculator - used to evaluate expressionsJRExpressionEvalException - any exception that occurs while
evaluating expressionsprotected void customIncrement()
JRFillElementDatasetcustomIncrement in class JRFillElementDatasetprotected void customInitialize()
JRFillElementDatasetThe dataset is initialized before being used and after each time the dataset gets reset.
customInitialize in class JRFillElementDatasetJRFillElementDataset.getResetTypeValue()public void collectExpressions(JRExpressionCollector collector)
public void increment()
increment in class JRFillElementDatasetpublic byte getEvaluation()
public void setEvaluation(byte evaluation)
evaluation - the evaluation to setCopyright © 2017. All rights reserved.