net.sf.jasperreports.engine
Interface JRChartDataset

All Known Subinterfaces:
JRCategoryDataset, JRHighLowDataset, JRPieDataset, JRTimePeriodDataset, JRTimeSeriesDataset, JRXyDataset, JRXyzDataset
All Known Implementing Classes:
JRBaseCategoryDataset, JRBaseChartDataset, JRBaseHighLowDataset, JRBasePieDataset, JRBaseTimePeriodDataset, JRBaseTimeSeriesDataset, JRBaseXyDataset, JRBaseXyzDataset, JRDesignCategoryDataset, JRDesignHighLowDataset, JRDesignPieDataset, JRDesignTimePeriodDataset, JRDesignTimeSeriesDataset, JRDesignXyDataset, JRDesignXyzDataset, JRFillCategoryDataset, JRFillChartDataset, JRFillHighLowDataset, JRFillPieDataset, JRFillTimePeriodDataset, JRFillTimeSeriesDataset, JRFillXyDataset, JRFillXyzDataset

public interface JRChartDataset

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

Version:
$Id: JRChartDataset.java,v 1.6 2005/08/19 13:29:07 ionutned Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
static byte CATEGORY_DATASET
           
static byte HIGHLOW_DATASET
           
static byte PIE_DATASET
           
static byte TIMEPERIOD_DATASET
           
static byte TIMESERIES_DATASET
           
static byte XY_DATASET
           
static byte XYZ_DATASET
           
 
Method Summary
 void collectExpressions(JRExpressionCollector collector)
           
 byte getDatasetType()
          Gets the dataset type.
 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.
 

Field Detail

PIE_DATASET

public static final byte PIE_DATASET
See Also:
Constant Field Values

CATEGORY_DATASET

public static final byte CATEGORY_DATASET
See Also:
Constant Field Values

XY_DATASET

public static final byte XY_DATASET
See Also:
Constant Field Values

XYZ_DATASET

public static final byte XYZ_DATASET
See Also:
Constant Field Values

TIMEPERIOD_DATASET

public static final byte TIMEPERIOD_DATASET
See Also:
Constant Field Values

TIMESERIES_DATASET

public static final byte TIMESERIES_DATASET
See Also:
Constant Field Values

HIGHLOW_DATASET

public static final byte HIGHLOW_DATASET
See Also:
Constant Field Values
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.


getDatasetType

public byte getDatasetType()
Gets the dataset type. Must be one of the dataset type constants defined in this class.


collectExpressions

public void collectExpressions(JRExpressionCollector collector)


© 2001-2005 JasperSoft Corporation www.jaspersoft.com