public class JRFillTimePeriodDataset extends JRFillChartDataset implements JRTimePeriodDataset
Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_NAME |
protected JRFillTimePeriodSeries[] |
timePeriodSeries |
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 |
---|
JRFillTimePeriodDataset(JRTimePeriodDataset timePeriodDataset,
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.
|
Map<Comparable<?>,Map<org.jfree.data.time.TimePeriod,JRPrintHyperlink>> |
getItemHyperlinks() |
Object |
getLabelGenerator() |
JRTimePeriodSeries[] |
getSeries() |
boolean |
hasItemHyperlinks() |
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDataset
clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetResetType, getDatasetRun, getFillDataset, getFiller, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getLocale, getResetGroup, getTimeZone, increment, initialize, setBand
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatasetResetType, getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup
clone
public static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_NAME
protected JRFillTimePeriodSeries[] timePeriodSeries
public JRFillTimePeriodDataset(JRTimePeriodDataset timePeriodDataset, JRFillObjectFactory factory)
public JRTimePeriodSeries[] getSeries()
getSeries
in interface JRTimePeriodDataset
JRTimePeriodSeries
objects representing the
series for the Time Period chartJRTimePeriodSeries
protected void customInitialize()
JRFillElementDataset
The dataset is initialized before being used and after each time the dataset gets reset.
customInitialize
in class 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 org.jfree.data.general.Dataset getCustomDataset()
getCustomDataset
in class JRFillChartDataset
public byte getDatasetType()
JRChartDataset
getDatasetType
in interface JRChartDataset
public Object getLabelGenerator()
getLabelGenerator
in class JRFillChartDataset
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
public boolean hasItemHyperlinks()
public Map<Comparable<?>,Map<org.jfree.data.time.TimePeriod,JRPrintHyperlink>> getItemHyperlinks()
public void validate(JRVerifier verifier)
JRChartDataset
Broken rules are collected by the verifier.
validate
in interface JRChartDataset
verifier
- the verifier to use for validationCopyright © 2023 Cloud Software Group, Inc.. All rights reserved.