net.sf.jasperreports.engine.fill
Class JRFillCrosstab.JRFillCrosstabDataset
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillElementDataset
net.sf.jasperreports.engine.fill.JRFillCrosstab.JRFillCrosstabDataset
- All Implemented Interfaces:
- java.lang.Cloneable, JRCrosstabDataset, JRCloneable, JRElementDataset
- Enclosing class:
- JRFillCrosstab
public class JRFillCrosstab.JRFillCrosstabDataset
- extends JRFillElementDataset
- implements JRCrosstabDataset
Fill-time crosstab input dataset implementation.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementDataset |
clone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getIncrementGroup, getIncrementType, getIncrementWhenExpression, getInputDataset, getResetGroup, getResetType, getTimeZone, increment, initialize |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRFillCrosstab.JRFillCrosstabDataset
public JRFillCrosstab.JRFillCrosstabDataset(JRCrosstabDataset dataset,
JRFillObjectFactory factory)
customInitialize
protected void customInitialize()
- Specified by:
customInitialize
in class JRFillElementDataset
customEvaluate
protected void customEvaluate(JRCalculator calculator)
throws JRExpressionEvalException
- Specified by:
customEvaluate
in class JRFillElementDataset
- Throws:
JRExpressionEvalException
customIncrement
protected void customIncrement()
- Specified by:
customIncrement
in class JRFillElementDataset
getCustomDataset
protected org.jfree.data.general.Dataset getCustomDataset()
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressions
in interface JRElementDataset
isDataPreSorted
public boolean isDataPreSorted()
- Description copied from interface:
JRCrosstabDataset
- Returns whether the crosstab data is pre-sorted according to the
crosstab's groups.
The crosstab calculation engine can optimize the calculations
if the data is sorted by the row groups and column groups.
For example, if there are two row groups R1 and R2 (subgroup of R1)
and three column groups C1, C2 and C3 the data should be sorted
by R1, R2, C1, C2, C3.
- Specified by:
isDataPreSorted
in interface JRCrosstabDataset
- Returns:
- whether the crosstab data is pre-sorted
© 2001-2006 JasperSoft Corporation www.jaspersoft.com