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
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
FieldsFields inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset
datasetRun, incrementGroup, parent, resetGroup -
Constructor Summary
ConstructorsConstructorDescriptionFillMultiAxisDataset(FillMultiAxisDataset dataset, JRFillCloneFactory factory) FillMultiAxisDataset(MultiAxisData data, JRFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectExpressions(JRExpressionCollector collector) protected MultiAxisDataServicecreateService(byte evaluation) protected voidcustomEvaluate(JRCalculator calculator) Evaluates the expressions associated with the dataset.protected voidIncrements the dataset by collecting the result of the expression evaluation.protected voidInitializes the element dataset.voidevaluateData(byte evaluationType) 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 Details
-
EXCEPTION_MESSAGE_KEY_CANNOT_CREATE_BUCKETING_SERVICE
- See Also:
-
-
Constructor Details
-
FillMultiAxisDataset
-
FillMultiAxisDataset
-
-
Method Details
-
customInitialize
protected void customInitialize()Description copied from class:JRFillElementDatasetInitializes the element dataset.The dataset is initialized before being used and after each time the dataset gets reset.
- Specified by:
customInitializein classJRFillElementDataset- See Also:
-
createService
- Throws:
JRException
-
customEvaluate
Description copied from class:JRFillElementDatasetEvaluates 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:
customEvaluatein classJRFillElementDataset- Parameters:
calculator- used to evaluate expressions- Throws:
JRExpressionEvalException- any exception that occurs while evaluating expressions
-
customIncrement
protected void customIncrement()Description copied from class:JRFillElementDatasetIncrements the dataset by collecting the result of the expression evaluation.- Specified by:
customIncrementin classJRFillElementDataset
-
evaluateData
- Throws:
JRException
-
getDataSource
- Throws:
JRException
-
collectExpressions
-