net.sf.jasperreports.charts.base
Class JRBasePiePlot

java.lang.Object
  extended by net.sf.jasperreports.engine.base.JRBaseChartPlot
      extended by net.sf.jasperreports.charts.base.JRBasePiePlot
All Implemented Interfaces:
java.io.Serializable, JRPiePlot, JRChangeEventsSupport, JRChartPlot
Direct Known Subclasses:
JRDesignPiePlot

public class JRBasePiePlot
extends JRBaseChartPlot
implements JRPiePlot

Version:
$Id: JRBasePiePlot.java 2401 2008-10-16 13:48:52Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
JRBaseChartPlot.JRBaseSeriesColor
 
Nested classes/interfaces inherited from interface net.sf.jasperreports.engine.JRChartPlot
JRChartPlot.JRSeriesColor
 
Field Summary
protected  boolean isCircular
           
protected  java.lang.String labelFormat
           
protected  java.lang.String legendLabelFormat
           
static java.lang.String PROPERTY_CIRCULAR
           
static java.lang.String PROPERTY_LABEL_FORMAT
           
static java.lang.String PROPERTY_LEGEND_LABEL_FORMAT
           
 
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
backcolor, backgroundAlpha, chart, foregroundAlpha, labelRotation, orientation, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColors
 
Constructor Summary
JRBasePiePlot(JRChartPlot piePlot, JRChart chart)
           
JRBasePiePlot(JRPiePlot piePlot, JRBaseObjectFactory factory)
           
 
Method Summary
 void collectExpressions(JRExpressionCollector collector)
           
 java.lang.String getLabelFormat()
           
 java.lang.String getLegendLabelFormat()
           
 boolean isCircular()
           
 void setCircular(boolean isCircular)
           
 void setLabelFormat(java.lang.String labelFormat)
           
 void setLegendLabelFormat(java.lang.String legendLabelFormat)
           
 
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlpha, getChart, getEventSupport, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
 
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.JRChartPlot
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
 

Field Detail

PROPERTY_CIRCULAR

public static final java.lang.String PROPERTY_CIRCULAR
See Also:
Constant Field Values

PROPERTY_LABEL_FORMAT

public static final java.lang.String PROPERTY_LABEL_FORMAT
See Also:
Constant Field Values

PROPERTY_LEGEND_LABEL_FORMAT

public static final java.lang.String PROPERTY_LEGEND_LABEL_FORMAT
See Also:
Constant Field Values

isCircular

protected boolean isCircular

labelFormat

protected java.lang.String labelFormat

legendLabelFormat

protected java.lang.String legendLabelFormat
Constructor Detail

JRBasePiePlot

public JRBasePiePlot(JRChartPlot piePlot,
                     JRChart chart)

JRBasePiePlot

public JRBasePiePlot(JRPiePlot piePlot,
                     JRBaseObjectFactory factory)
Method Detail

collectExpressions

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

isCircular

public boolean isCircular()
Specified by:
isCircular in interface JRPiePlot
Returns:
the isCircular

setCircular

public void setCircular(boolean isCircular)
Parameters:
isCircular - the isCircular to set

getLabelFormat

public java.lang.String getLabelFormat()
Specified by:
getLabelFormat in interface JRPiePlot
Returns:
the labelFormat

setLabelFormat

public void setLabelFormat(java.lang.String labelFormat)
Parameters:
labelFormat - the labelFormat to set

getLegendLabelFormat

public java.lang.String getLegendLabelFormat()
Specified by:
getLegendLabelFormat in interface JRPiePlot
Returns:
the legendLabelFormat

setLegendLabelFormat

public void setLegendLabelFormat(java.lang.String legendLabelFormat)
Parameters:
legendLabelFormat - the legendLabelFormat to set


© 2001-2006 JasperSoft Corporation www.jaspersoft.com