net.sf.jasperreports.engine.fill
Class JRFillChartDataset

java.lang.Object
  extended bynet.sf.jasperreports.engine.fill.JRFillChartDataset
All Implemented Interfaces:
JRChartDataset
Direct Known Subclasses:
JRFillCategoryDataset, JRFillHighLowDataset, JRFillPieDataset, JRFillTimePeriodDataset, JRFillTimeSeriesDataset, JRFillXyDataset, JRFillXyzDataset

public abstract class JRFillChartDataset
extends java.lang.Object
implements JRChartDataset

Version:
$Id: JRFillChartDataset.java,v 1.6 2005/07/18 16:37:06 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
protected  JRGroup incrementGroup
           
protected  JRChartDataset parent
           
protected  JRGroup resetGroup
           
 
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 JRFillChartDataset(JRChartDataset dataset, JRFillObjectFactory factory)
           
 
Method Summary
protected abstract  void customEvaluate(JRCalculator calculator)
           
protected abstract  void customIncrement()
           
protected abstract  void customInitialize()
           
protected  void evaluate(JRCalculator calculator)
           
protected abstract  org.jfree.data.general.Dataset getCustomDataset()
           
 org.jfree.data.general.Dataset getDataset()
           
 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.
protected  void increment()
           
protected  void initialize()
           
 
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

parent

protected JRChartDataset parent

resetGroup

protected JRGroup resetGroup

incrementGroup

protected JRGroup incrementGroup
Constructor Detail

JRFillChartDataset

protected JRFillChartDataset(JRChartDataset dataset,
                             JRFillObjectFactory 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

initialize

protected void initialize()

evaluate

protected void evaluate(JRCalculator calculator)
                 throws JRExpressionEvalException
Throws:
JRExpressionEvalException

increment

protected void increment()

getDataset

public org.jfree.data.general.Dataset getDataset()

customInitialize

protected abstract void customInitialize()

customEvaluate

protected abstract void customEvaluate(JRCalculator calculator)
                                throws JRExpressionEvalException
Throws:
JRExpressionEvalException

customIncrement

protected abstract void customIncrement()

getCustomDataset

protected abstract org.jfree.data.general.Dataset getCustomDataset()


© 2001-2005 JasperSoft Corporation www.jaspersoft.com