net.sf.jasperreports.charts.fill
Class JRFillPieDataset

java.lang.Object
  extended bynet.sf.jasperreports.engine.fill.JRFillChartDataset
      extended bynet.sf.jasperreports.charts.fill.JRFillPieDataset
All Implemented Interfaces:
JRChartDataset, JRPieDataset

public class JRFillPieDataset
extends JRFillChartDataset
implements JRPieDataset

Version:
$Id: JRFillPieDataset.java,v 1.7 2005/07/18 20:29:28 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
 
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillChartDataset
incrementGroup, parent, 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
JRFillPieDataset(JRPieDataset pieDataset, JRFillObjectFactory factory)
           
 
Method Summary
 void collectExpressions(JRExpressionCollector collector)
           
protected  void customEvaluate(JRCalculator calculator)
           
protected  void customIncrement()
           
protected  void customInitialize()
           
 org.jfree.data.general.Dataset getCustomDataset()
           
 byte getDatasetType()
          Gets the dataset type.
 JRExpression getKeyExpression()
           
 JRExpression getLabelExpression()
           
 PieLabelGenerator getLabelGenerator()
           
 JRExpression getValueExpression()
           
 
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillChartDataset
evaluate, getDataset, getIncrementGroup, getIncrementType, getResetGroup, getResetType, increment, 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
getIncrementGroup, getIncrementType, getResetGroup, getResetType
 

Constructor Detail

JRFillPieDataset

public JRFillPieDataset(JRPieDataset pieDataset,
                        JRFillObjectFactory factory)
Method Detail

getKeyExpression

public JRExpression getKeyExpression()
Specified by:
getKeyExpression in interface JRPieDataset

getValueExpression

public JRExpression getValueExpression()
Specified by:
getValueExpression in interface JRPieDataset

getLabelExpression

public JRExpression getLabelExpression()
Specified by:
getLabelExpression in interface JRPieDataset

customInitialize

protected void customInitialize()
Specified by:
customInitialize in class JRFillChartDataset

customEvaluate

protected void customEvaluate(JRCalculator calculator)
                       throws JRExpressionEvalException
Specified by:
customEvaluate in class JRFillChartDataset
Throws:
JRExpressionEvalException

customIncrement

protected void customIncrement()
Specified by:
customIncrement in class JRFillChartDataset

getCustomDataset

public org.jfree.data.general.Dataset getCustomDataset()
Specified by:
getCustomDataset in class JRFillChartDataset

getDatasetType

public byte getDatasetType()
Description copied from interface: JRChartDataset
Gets the dataset type. Must be one of the dataset type constants defined in this class.

Specified by:
getDatasetType in interface JRChartDataset

getLabelGenerator

public PieLabelGenerator getLabelGenerator()

collectExpressions

public void collectExpressions(JRExpressionCollector collector)
Specified by:
collectExpressions in interface JRChartDataset


© 2001-2005 JasperSoft Corporation www.jaspersoft.com