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:
java.io.Serializable,java.lang.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 java.lang.Booleancircularprotected java.lang.DoubledepthFactorDoubleprotected JRItemLabelitemLabelprotected java.lang.StringlabelFormatprotected java.lang.StringlegendLabelFormatstatic java.lang.StringPROPERTY_CIRCULARstatic java.lang.StringPROPERTY_DEPTH_FACTORstatic java.lang.StringPROPERTY_ITEM_LABELstatic java.lang.StringPROPERTY_LABEL_FORMATstatic java.lang.StringPROPERTY_LEGEND_LABEL_FORMATstatic java.lang.StringPROPERTY_SHOW_LABELSprotected java.lang.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 java.lang.Objectclone(JRChart parentChart)voidcollectExpressions(JRExpressionCollector collector)java.lang.BooleangetCircular()java.lang.DoublegetDepthFactorDouble()JRItemLabelgetItemLabel()java.lang.StringgetLabelFormat()java.lang.StringgetLegendLabelFormat()java.lang.BooleangetShowLabels()voidsetCircular(java.lang.Boolean isCircular)voidsetDepthFactor(java.lang.Double depthFactor)voidsetItemLabel(JRItemLabel itemLabel)voidsetLabelFormat(java.lang.String labelFormat)voidsetLegendLabelFormat(java.lang.String legendLabelFormat)voidsetShowLabels(java.lang.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 java.lang.String PROPERTY_CIRCULAR
- See Also:
- Constant Field Values
-
PROPERTY_DEPTH_FACTOR
public static final java.lang.String PROPERTY_DEPTH_FACTOR
- 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
-
PROPERTY_ITEM_LABEL
public static final java.lang.String PROPERTY_ITEM_LABEL
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_LABELS
public static final java.lang.String PROPERTY_SHOW_LABELS
- See Also:
- Constant Field Values
-
depthFactorDouble
protected java.lang.Double depthFactorDouble
-
circular
protected java.lang.Boolean circular
-
labelFormat
protected java.lang.String labelFormat
-
legendLabelFormat
protected java.lang.String legendLabelFormat
-
itemLabel
protected JRItemLabel itemLabel
-
showLabels
protected java.lang.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 java.lang.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(java.lang.Double depthFactor)
-
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressionsin interfaceJRChartPlot
-
getCircular
public java.lang.Boolean getCircular()
- Specified by:
getCircularin interfaceJRPie3DPlot- Returns:
- a flag that specifies a circular form for the 3D pie
-
setCircular
public void setCircular(java.lang.Boolean isCircular)
- Parameters:
isCircular- the isCircular to set
-
getLabelFormat
public java.lang.String getLabelFormat()
- Specified by:
getLabelFormatin interfaceJRPie3DPlot- 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:
getLegendLabelFormatin interfaceJRPie3DPlot- Returns:
- the legendLabelFormat
-
setLegendLabelFormat
public void setLegendLabelFormat(java.lang.String legendLabelFormat)
- Parameters:
legendLabelFormat- the legendLabelFormat to set
-
setItemLabel
public void setItemLabel(JRItemLabel itemLabel)
- Parameters:
itemLabel- the itemLabel to set
-
getShowLabels
public java.lang.Boolean getShowLabels()
- Specified by:
getShowLabelsin interfaceJRPie3DPlot- Returns:
- a flag that specifies whether labels are to be shown or not
-
setShowLabels
public void setShowLabels(java.lang.Boolean showLabels)
-
clone
public java.lang.Object clone(JRChart parentChart)
- Specified by:
clonein interfaceJRChartPlot- Overrides:
clonein classJRBaseChartPlot
-
-