public class JRFillTimeSeriesDataset extends JRFillChartDataset implements JRTimeSeriesDataset
Modifier and Type | Field and Description |
---|---|
protected JRFillTimeSeries[] |
timeSeries |
datasetRun, incrementGroup, parent, resetGroup
CATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET
Constructor and Description |
---|
JRFillTimeSeriesDataset(JRTimeSeriesDataset timeSeriesDataset,
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.
|
Dataset |
getCustomDataset() |
byte |
getDatasetType()
Gets the dataset type.
|
java.util.Map |
getItemHyperlinks() |
java.lang.Object |
getLabelGenerator() |
JRTimeSeries[] |
getSeries() |
java.lang.Class |
getTimePeriod() |
boolean |
hasItemHyperlinks() |
void |
setTimePeriod(java.lang.Class timePeriod) |
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDataset
clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getIncrementGroup, getIncrementType, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getResetGroup, getResetType, getResetTypeValue, getTimeZone, increment, initialize
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatasetRun, getIncrementGroup, getIncrementType, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetType, getResetTypeValue
clone
protected JRFillTimeSeries[] timeSeries
public JRFillTimeSeriesDataset(JRTimeSeriesDataset timeSeriesDataset, JRFillObjectFactory factory)
public JRTimeSeries[] getSeries()
getSeries
in interface JRTimeSeriesDataset
protected void customInitialize()
JRFillElementDataset
The dataset is initialized before being used and after each time the dataset gets reset.
customInitialize
in class JRFillElementDataset
JRFillElementDataset.getResetType()
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
public Dataset getCustomDataset()
getCustomDataset
in class JRFillChartDataset
public java.lang.Class getTimePeriod()
getTimePeriod
in interface JRTimeSeriesDataset
public void setTimePeriod(java.lang.Class timePeriod)
setTimePeriod
in interface JRTimeSeriesDataset
public byte getDatasetType()
JRChartDataset
getDatasetType
in interface JRChartDataset
public java.lang.Object getLabelGenerator()
getLabelGenerator
in class JRFillChartDataset
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
public java.util.Map getItemHyperlinks()
public boolean hasItemHyperlinks()
public void validate(JRVerifier verifier)
JRChartDataset
Broken rules are collected by the verifier.
validate
in interface JRChartDataset
verifier
- the verifier to use for validation© 2001-2010 Jaspersoft Corporation www.jaspersoft.com