public class JRFillValueDataset extends JRFillChartDataset implements JRValueDataset
datasetRun, incrementGroup, parent, resetGroupCATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET| Constructor and Description |
|---|
JRFillValueDataset(JRValueDataset valueDataset,
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.
|
org.jfree.data.general.Dataset |
getCustomDataset() |
byte |
getDatasetType()
Gets the dataset type.
|
Object |
getLabelGenerator() |
JRExpression |
getValueExpression()
Returns the expression that indicates the value held
by this dataset.
|
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDatasetclone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getFillDataset, getFiller, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getLocale, getResetGroup, getResetTypeValue, getTimeZone, increment, initialize, setBandequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueclonepublic JRFillValueDataset(JRValueDataset valueDataset, JRFillObjectFactory factory)
public JRExpression getValueExpression()
JRValueDatasetgetValueExpression in interface JRValueDatasetprotected void customInitialize()
JRFillElementDatasetThe dataset is initialized before being used and after each time the dataset gets reset.
customInitialize in class JRFillElementDatasetJRFillElementDataset.getResetTypeValue()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 JRFillElementDatasetpublic org.jfree.data.general.Dataset getCustomDataset()
getCustomDataset in class JRFillChartDatasetpublic Object getLabelGenerator()
getLabelGenerator in class JRFillChartDatasetpublic byte getDatasetType()
JRChartDatasetgetDatasetType in interface JRChartDatasetpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetpublic void validate(JRVerifier verifier)
JRChartDatasetBroken rules are collected by the verifier.
validate in interface JRChartDatasetverifier - the verifier to use for validationCopyright © 2017. All rights reserved.