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, java.lang.Cloneable, JRPieDataset, JRChangeEventsSupport, JRChartDataset, JRCloneable, JRElementDataset
public class JRDesignPieDataset
- extends JRDesignChartDataset
- implements JRPieDataset
- Version:
- $Id: JRDesignPieDataset.java 1994 2007-12-05 13:48:10Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTY_KEY_EXPRESSION
public static final java.lang.String PROPERTY_KEY_EXPRESSION
- See Also:
- Constant Field Values
PROPERTY_LABEL_EXPRESSION
public static final java.lang.String PROPERTY_LABEL_EXPRESSION
- See Also:
- Constant Field Values
PROPERTY_SECTION_HYPERLINK
public static final java.lang.String PROPERTY_SECTION_HYPERLINK
- See Also:
- Constant Field Values
PROPERTY_VALUE_EXPRESSION
public static final java.lang.String PROPERTY_VALUE_EXPRESSION
- See Also:
- Constant Field Values
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
clone
public java.lang.Object clone()
- Specified by:
clone
in interface JRCloneable
- Overrides:
clone
in class JRBaseElementDataset
© 2001-2006 JasperSoft Corporation www.jaspersoft.com