net.sf.jasperreports.engine.base
Class JRBaseChartDataset

java.lang.Object
  extended bynet.sf.jasperreports.engine.base.JRBaseChartDataset
All Implemented Interfaces:
JRChartDataset, java.io.Serializable
Direct Known Subclasses:
JRBaseCategoryDataset, JRBaseHighLowDataset, JRBasePieDataset, JRBaseTimePeriodDataset, JRBaseTimeSeriesDataset, JRBaseXyDataset, JRBaseXyzDataset, JRDesignChartDataset

public abstract class JRBaseChartDataset
extends java.lang.Object
implements JRChartDataset, java.io.Serializable

Version:
$Id: JRBaseChartDataset.java,v 1.6 2005/09/07 13:58:25 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  JRGroup incrementGroup
           
protected  byte incrementType
           
protected  JRGroup resetGroup
           
protected  byte resetType
           
 
Fields inherited from interface net.sf.jasperreports.engine.JRChartDataset
CATEGORY_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, XY_DATASET, XYZ_DATASET
 
Constructor Summary
protected JRBaseChartDataset(JRChartDataset dataset)
           
protected JRBaseChartDataset(JRChartDataset dataset, JRBaseObjectFactory factory)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jasperreports.engine.JRChartDataset
collectExpressions, getDatasetType
 

Field Detail

resetType

protected byte resetType

incrementType

protected byte incrementType

resetGroup

protected JRGroup resetGroup

incrementGroup

protected JRGroup incrementGroup
Constructor Detail

JRBaseChartDataset

protected JRBaseChartDataset(JRChartDataset dataset)

JRBaseChartDataset

protected JRBaseChartDataset(JRChartDataset dataset,
                             JRBaseObjectFactory factory)
Method Detail

getResetType

public byte getResetType()
Description copied from interface: JRChartDataset
Gets the reset type. This specifies the range of report data used for filling the dataset.

Specified by:
getResetType in interface JRChartDataset
Returns:
one of the reset constants in JRVariable

getIncrementType

public byte getIncrementType()
Description copied from interface: JRChartDataset
Returns the increment type. This specifies dataset values increment step.

Specified by:
getIncrementType in interface JRChartDataset
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: JRChartDataset
Gets the selected reset group in case of reset type group.

Specified by:
getResetGroup in interface JRChartDataset

getIncrementGroup

public JRGroup getIncrementGroup()
Description copied from interface: JRChartDataset
Gets the selected increment group in case of increment type group.

Specified by:
getIncrementGroup in interface JRChartDataset


© 2001-2005 JasperSoft Corporation www.jaspersoft.com