net.sf.jasperreports.engine.fill
Class JRFillElementDataset
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillElementDataset
- All Implemented Interfaces:
- JRElementDataset
- Direct Known Subclasses:
- JRFillChartDataset, JRFillCrosstab.JRFillCrosstabDataset
- public abstract class JRFillElementDataset
- extends java.lang.Object
- implements JRElementDataset
- Version:
- $Id: JRFillElementDataset.java,v 1.3 2005/11/28 09:20:43 teodord Exp $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected JRElementDataset parent
resetGroup
protected JRGroup resetGroup
incrementGroup
protected JRGroup incrementGroup
datasetRun
protected JRFillDatasetRun datasetRun
JRFillElementDataset
protected JRFillElementDataset(JRElementDataset dataset,
JRFillObjectFactory factory)
getResetType
public byte getResetType()
- Description copied from interface:
JRElementDataset
- Gets the reset type. This specifies the range of report data used for filling the dataset.
- Specified by:
getResetType
in interface JRElementDataset
- Returns:
- one of the reset constants in
JRVariable
getIncrementType
public byte getIncrementType()
- Description copied from interface:
JRElementDataset
- Returns the increment type. This specifies dataset values increment step.
- Specified by:
getIncrementType
in interface JRElementDataset
- Returns:
- one of the reset constants in
JRVariable
, since the increment type uses the same
constants as the reset type.
getResetGroup
public JRGroup getResetGroup()
- Description copied from interface:
JRElementDataset
- Gets the selected reset group in case of reset type group.
- Specified by:
getResetGroup
in interface JRElementDataset
getIncrementGroup
public JRGroup getIncrementGroup()
- Description copied from interface:
JRElementDataset
- Gets the selected increment group in case of increment type group.
- Specified by:
getIncrementGroup
in interface JRElementDataset
initialize
protected void initialize()
evaluate
protected void evaluate(JRCalculator calculator)
throws JRExpressionEvalException
- Throws:
JRExpressionEvalException
increment
protected void increment()
customInitialize
protected abstract void customInitialize()
customEvaluate
protected abstract void customEvaluate(JRCalculator calculator)
throws JRExpressionEvalException
- Throws:
JRExpressionEvalException
customIncrement
protected abstract void customIncrement()
getDatasetRun
public JRDatasetRun getDatasetRun()
- Description copied from interface:
JRElementDataset
- Returns the sub dataset run for this chart dataset.
- Specified by:
getDatasetRun
in interface JRElementDataset
- Returns:
- the sub dataset run for this chart dataset
evaluateDatasetRun
public void evaluateDatasetRun(byte evaluation)
throws JRException
- Throws:
JRException
getInputDataset
public JRFillDataset getInputDataset()
© 2001-2005 JasperSoft Corporation www.jaspersoft.com