Class FillMultiAxisDataset
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRFillElementDataset
-
- net.sf.jasperreports.engine.analytics.dataset.FillMultiAxisDataset
-
- All Implemented Interfaces:
Cloneable
,DatasetRunHolder
,JRCloneable
,JRElementDataset
public class FillMultiAxisDataset extends JRFillElementDataset
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_CANNOT_CREATE_BUCKETING_SERVICE
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset
datasetRun, incrementGroup, parent, resetGroup
-
-
Constructor Summary
Constructors Constructor Description FillMultiAxisDataset(FillMultiAxisDataset dataset, JRFillCloneFactory factory)
FillMultiAxisDataset(MultiAxisData data, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectExpressions(JRExpressionCollector collector)
protected MultiAxisDataService
createService(byte evaluation)
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.void
evaluateData(byte evaluationType)
MultiAxisDataSource
getDataSource()
-
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset
clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetResetType, getDatasetRun, getFillDataset, getFiller, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getInputDataset, getLocale, getResetGroup, getTimeZone, increment, initialize, setBand
-
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_CANNOT_CREATE_BUCKETING_SERVICE
public static final String EXCEPTION_MESSAGE_KEY_CANNOT_CREATE_BUCKETING_SERVICE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FillMultiAxisDataset
public FillMultiAxisDataset(MultiAxisData data, JRFillObjectFactory factory)
-
FillMultiAxisDataset
public FillMultiAxisDataset(FillMultiAxisDataset dataset, JRFillCloneFactory factory)
-
-
Method Detail
-
customInitialize
protected void customInitialize()
Description copied from class:JRFillElementDataset
Initializes the element dataset.The dataset is initialized before being used and after each time the dataset gets reset.
- Specified by:
customInitialize
in classJRFillElementDataset
- See Also:
JRFillElementDataset.getDatasetResetType()
-
createService
protected MultiAxisDataService createService(byte evaluation) throws JRException
- Throws:
JRException
-
customEvaluate
protected void customEvaluate(JRCalculator calculator) throws JRExpressionEvalException
Description copied from class:JRFillElementDataset
Evaluates the expressions associated with the dataset.Usually, the result of the evaluation would be preserved so that it is used in
JRFillElementDataset.customIncrement()
- Specified by:
customEvaluate
in classJRFillElementDataset
- Parameters:
calculator
- used to evaluate expressions- Throws:
JRExpressionEvalException
- any exception that occurs while evaluating expressions
-
customIncrement
protected void customIncrement()
Description copied from class:JRFillElementDataset
Increments the dataset by collecting the result of the expression evaluation.- Specified by:
customIncrement
in classJRFillElementDataset
-
evaluateData
public void evaluateData(byte evaluationType) throws JRException
- Throws:
JRException
-
getDataSource
public MultiAxisDataSource getDataSource() throws JRException
- Throws:
JRException
-
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
-
-