public class JRFillTimeSeriesDataset extends JRFillChartDataset implements JRTimeSeriesDataset
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_NAME |
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<java.lang.Comparable<?>,java.util.Map<RegularTimePeriod,JRPrintHyperlink>> |
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, getFillDataset, getFiller, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getResetGroup, getResetTypeValue, getTimeZone, increment, initialize, setBand
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue
clone
public static final java.lang.String EXCEPTION_MESSAGE_KEY_SERIES_NULL_NAME
protected JRFillTimeSeries[] timeSeries
public JRFillTimeSeriesDataset(JRTimeSeriesDataset timeSeriesDataset, JRFillObjectFactory factory)
public JRTimeSeries[] getSeries()
getSeries
in interface JRTimeSeriesDataset
JRTimeSeries
objects representing the
series for the Time Series chartJRTimeSeries
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()
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
TimePeriodEnum
public void setTimePeriod(java.lang.Class<?> timePeriod)
setTimePeriod
in interface JRTimeSeriesDataset
timePeriod
- the time period associated with
days, months, years, or other predefined time periods.TimePeriodEnum
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<java.lang.Comparable<?>,java.util.Map<RegularTimePeriod,JRPrintHyperlink>> 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-2014 TIBCO Software Inc. www.jaspersoft.com