Package net.sf.jasperreports.charts.base
Class JRBasePie3DPlot
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseChartPlot
-
- net.sf.jasperreports.charts.base.JRBasePie3DPlot
-
- All Implemented Interfaces:
Serializable,Cloneable,JRPie3DPlot,JRChangeEventsSupport,JRChartPlot,JRCloneable
- Direct Known Subclasses:
JRDesignPie3DPlot
public class JRBasePie3DPlot extends JRBaseChartPlot implements JRPie3DPlot
- 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
Fields Modifier and Type Field Description protected Booleancircularprotected DoubledepthFactorDoubleprotected JRItemLabelitemLabelprotected StringlabelFormatprotected StringlegendLabelFormatstatic StringPROPERTY_CIRCULARstatic StringPROPERTY_DEPTH_FACTORstatic StringPROPERTY_ITEM_LABELstatic StringPROPERTY_LABEL_FORMATstatic StringPROPERTY_LEGEND_LABEL_FORMATstatic StringPROPERTY_SHOW_LABELSprotected BooleanshowLabels-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
backcolor, backgroundAlphaFloat, chart, foregroundAlphaFloat, labelRotationDouble, orientationValue, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColors
-
Fields inherited from interface net.sf.jasperreports.charts.JRPie3DPlot
DEPTH_FACTOR_DEFAULT
-
-
Constructor Summary
Constructors Modifier Constructor Description JRBasePie3DPlot(JRPie3DPlot pie3DPlot, JRBaseObjectFactory factory)JRBasePie3DPlot(JRChartPlot chartPlot, JRChart chart)protectedJRBasePie3DPlot(JRChartPlot chartPlot, JRChart chart, ChartCopyObjectFactory copyObjectFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone(JRChart parentChart)voidcollectExpressions(JRExpressionCollector collector)BooleangetCircular()DoublegetDepthFactorDouble()JRItemLabelgetItemLabel()StringgetLabelFormat()StringgetLegendLabelFormat()BooleangetShowLabels()voidsetCircular(Boolean isCircular)voidsetDepthFactor(Double depthFactor)voidsetItemLabel(JRItemLabel itemLabel)voidsetLabelFormat(String labelFormat)voidsetLegendLabelFormat(String legendLabelFormat)voidsetShowLabels(Boolean showLabels)-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseChartPlot
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlphaFloat, getChart, getEventSupport, getForegroundAlphaFloat, getLabelRotationDouble, getOrientationValue, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.JRChartPlot
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlphaFloat, getChart, getForegroundAlphaFloat, getLabelRotationDouble, getOrientationValue, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
-
-
-
Field Detail
-
PROPERTY_CIRCULAR
public static final String PROPERTY_CIRCULAR
- See Also:
- Constant Field Values
-
PROPERTY_DEPTH_FACTOR
public static final String PROPERTY_DEPTH_FACTOR
- See Also:
- Constant Field Values
-
PROPERTY_LABEL_FORMAT
public static final String PROPERTY_LABEL_FORMAT
- See Also:
- Constant Field Values
-
PROPERTY_LEGEND_LABEL_FORMAT
public static final String PROPERTY_LEGEND_LABEL_FORMAT
- See Also:
- Constant Field Values
-
PROPERTY_ITEM_LABEL
public static final String PROPERTY_ITEM_LABEL
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_LABELS
public static final String PROPERTY_SHOW_LABELS
- See Also:
- Constant Field Values
-
depthFactorDouble
protected Double depthFactorDouble
-
circular
protected Boolean circular
-
labelFormat
protected String labelFormat
-
legendLabelFormat
protected String legendLabelFormat
-
itemLabel
protected JRItemLabel itemLabel
-
showLabels
protected Boolean showLabels
-
-
Constructor Detail
-
JRBasePie3DPlot
public JRBasePie3DPlot(JRChartPlot chartPlot, JRChart chart)
-
JRBasePie3DPlot
protected JRBasePie3DPlot(JRChartPlot chartPlot, JRChart chart, ChartCopyObjectFactory copyObjectFactory)
-
JRBasePie3DPlot
public JRBasePie3DPlot(JRPie3DPlot pie3DPlot, JRBaseObjectFactory factory)
-
-
Method Detail
-
getDepthFactorDouble
public Double getDepthFactorDouble()
- Specified by:
getDepthFactorDoublein interfaceJRPie3DPlot- Returns:
- a numeric value ranging from 0 to 1 that represents the depth of the pie as a percentage of the height of the plot area.
-
getItemLabel
public JRItemLabel getItemLabel()
- Specified by:
getItemLabelin interfaceJRPie3DPlot- Returns:
- a
JRItemLabelobject representing the item label
-
setDepthFactor
public void setDepthFactor(Double depthFactor)
-
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressionsin interfaceJRChartPlot
-
getCircular
public Boolean getCircular()
- Specified by:
getCircularin interfaceJRPie3DPlot- Returns:
- a flag that specifies a circular form for the 3D pie
-
setCircular
public void setCircular(Boolean isCircular)
- Parameters:
isCircular- the isCircular to set
-
getLabelFormat
public String getLabelFormat()
- Specified by:
getLabelFormatin interfaceJRPie3DPlot- Returns:
- the labelFormat
-
setLabelFormat
public void setLabelFormat(String labelFormat)
- Parameters:
labelFormat- the labelFormat to set
-
getLegendLabelFormat
public String getLegendLabelFormat()
- Specified by:
getLegendLabelFormatin interfaceJRPie3DPlot- Returns:
- the legendLabelFormat
-
setLegendLabelFormat
public void setLegendLabelFormat(String legendLabelFormat)
- Parameters:
legendLabelFormat- the legendLabelFormat to set
-
setItemLabel
public void setItemLabel(JRItemLabel itemLabel)
- Parameters:
itemLabel- the itemLabel to set
-
getShowLabels
public Boolean getShowLabels()
- Specified by:
getShowLabelsin interfaceJRPie3DPlot- Returns:
- a flag that specifies whether labels are to be shown or not
-
setShowLabels
public void setShowLabels(Boolean showLabels)
-
clone
public Object clone(JRChart parentChart)
- Specified by:
clonein interfaceJRChartPlot- Overrides:
clonein classJRBaseChartPlot
-
-