net.sf.jasperreports.engine
Interface JRElementDataset

All Known Subinterfaces:
JRCategoryDataset, JRChartDataset, JRCrosstabDataset, JRHighLowDataset, JRPieDataset, JRTimePeriodDataset, JRTimeSeriesDataset, JRXyDataset, JRXyzDataset
All Known Implementing Classes:
JRBaseCategoryDataset, JRBaseChartDataset, JRBaseCrosstabDataset, JRBaseElementDataset, JRBaseHighLowDataset, JRBasePieDataset, JRBaseTimePeriodDataset, JRBaseTimeSeriesDataset, JRBaseXyDataset, JRBaseXyzDataset, JRDesignCategoryDataset, JRDesignChartDataset, JRDesignCrosstabDataset, JRDesignHighLowDataset, JRDesignPieDataset, JRDesignTimePeriodDataset, JRDesignTimeSeriesDataset, JRDesignXyDataset, JRDesignXyzDataset, JRFillCategoryDataset, JRFillChartDataset, JRFillCrosstab.JRFillCrosstabDataset, JRFillElementDataset, JRFillHighLowDataset, JRFillPieDataset, JRFillTimePeriodDataset, JRFillTimeSeriesDataset, JRFillXyDataset, JRFillXyzDataset

public interface JRElementDataset

Element datasets are used to represent the report data needed to generate a chart or crosstab. The dataset structure may vary with each chart type or crosstab. This is the superinterface for all datasets and contains common dataset properties.

Version:
$Id: JRElementDataset.java,v 1.2 2005/11/28 09:20:44 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
 void collectExpressions(JRExpressionCollector collector)
           
 JRDatasetRun getDatasetRun()
          Returns the sub dataset run for this chart dataset.
 JRGroup getIncrementGroup()
          Gets the selected increment group in case of increment type group.
 byte getIncrementType()
          Returns the increment type.
 JRGroup getResetGroup()
          Gets the selected reset group in case of reset type group.
 byte getResetType()
          Gets the reset type.
 

Method Detail

getResetType

public byte getResetType()
Gets the reset type. This specifies the range of report data used for filling the dataset.

Returns:
one of the reset constants in JRVariable

getResetGroup

public JRGroup getResetGroup()
Gets the selected reset group in case of reset type group.


getIncrementType

public byte getIncrementType()
Returns the increment type. This specifies dataset values increment step.

Returns:
one of the reset constants in JRVariable, since the increment type uses the same constants as the reset type.

getIncrementGroup

public JRGroup getIncrementGroup()
Gets the selected increment group in case of increment type group.


collectExpressions

public void collectExpressions(JRExpressionCollector collector)

getDatasetRun

public JRDatasetRun getDatasetRun()
Returns the sub dataset run for this chart dataset.

Returns:
the sub dataset run for this chart dataset


© 2001-2005 JasperSoft Corporation www.jaspersoft.com