net.sf.jasperreports.charts.design
Class JRDesignPieDataset
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseElementDataset
net.sf.jasperreports.engine.design.JRDesignElementDataset
net.sf.jasperreports.engine.design.JRDesignChartDataset
net.sf.jasperreports.charts.design.JRDesignPieDataset
- All Implemented Interfaces:
- java.io.Serializable, JRPieDataset, JRChartDataset, JRElementDataset
public class JRDesignPieDataset
- extends JRDesignChartDataset
- implements JRPieDataset
- Version:
- $Id: JRDesignPieDataset.java 1368 2006-09-01 15:01:52 +0300 (Fri, 01 Sep 2006) lucianc $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyExpression
protected JRExpression keyExpression
valueExpression
protected JRExpression valueExpression
labelExpression
protected JRExpression labelExpression
JRDesignPieDataset
public JRDesignPieDataset(JRChartDataset dataset)
getKeyExpression
public JRExpression getKeyExpression()
- Specified by:
getKeyExpression
in interface JRPieDataset
setKeyExpression
public void setKeyExpression(JRExpression keyExpression)
getValueExpression
public JRExpression getValueExpression()
- Specified by:
getValueExpression
in interface JRPieDataset
setValueExpression
public void setValueExpression(JRExpression valueExpression)
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpression
in interface JRPieDataset
setLabelExpression
public void setLabelExpression(JRExpression labelExpression)
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
- Overrides:
getDatasetType
in class JRDesignChartDataset
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressions
in interface JRElementDataset
getSectionHyperlink
public JRHyperlink getSectionHyperlink()
- Description copied from interface:
JRPieDataset
- Returns the hyperlink specification for chart sections.
The hyperlink will be evaluated for every chart section and an image map will be created for the chart.
- Specified by:
getSectionHyperlink
in interface JRPieDataset
- Returns:
- hyperlink specification for chart sections
setSectionHyperlink
public void setSectionHyperlink(JRHyperlink sectionHyperlink)
- Sets the hyperlink specification for chart sections.
- Parameters:
sectionHyperlink
- the hyperlink specification- See Also:
getSectionHyperlink()
validate
public void validate(JRVerifier verifier)
- Description copied from interface:
JRChartDataset
- Validates the dataset using a verifier.
Broken rules are collected by the verifier.
- Specified by:
validate
in interface JRChartDataset
- Parameters:
verifier
- the verifier to use for validation
© 2001-2006 JasperSoft Corporation www.jaspersoft.com