net.sf.jasperreports.charts.base
Class JRBasePieDataset

java.lang.Object
  extended bynet.sf.jasperreports.engine.base.JRBaseChartDataset
      extended bynet.sf.jasperreports.charts.base.JRBasePieDataset
All Implemented Interfaces:
JRChartDataset, JRPieDataset, java.io.Serializable

public class JRBasePieDataset
extends JRBaseChartDataset
implements JRPieDataset

Version:
$Id: JRBasePieDataset.java,v 1.10 2005/10/09 21:34:26 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  JRExpression keyExpression
           
protected  JRExpression labelExpression
           
protected  JRExpression valueExpression
           
 
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseChartDataset
incrementGroup, incrementType, resetGroup, 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
JRBasePieDataset(JRChartDataset dataset)
           
JRBasePieDataset(JRPieDataset dataset, JRBaseObjectFactory factory)
           
 
Method Summary
 void collectExpressions(JRExpressionCollector collector)
           
 byte getDatasetType()
          Gets the dataset type.
 JRExpression getKeyExpression()
           
 JRExpression getLabelExpression()
           
 JRExpression getValueExpression()
           
 
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseChartDataset
getIncrementGroup, getIncrementType, getResetGroup, getResetType
 
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
 

Field Detail

keyExpression

protected JRExpression keyExpression

valueExpression

protected JRExpression valueExpression

labelExpression

protected JRExpression labelExpression
Constructor Detail

JRBasePieDataset

public JRBasePieDataset(JRChartDataset dataset)

JRBasePieDataset

public JRBasePieDataset(JRPieDataset dataset,
                        JRBaseObjectFactory 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

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

collectExpressions

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


© 2001-2005 JasperSoft Corporation www.jaspersoft.com