Package net.sf.jasperreports.charts.base
Class JRBasePiePlot
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseChartPlot
net.sf.jasperreports.charts.base.JRBasePiePlot
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChartPlot
,JRPiePlot
,JRChangeEventsSupport
,JRCloneable
- Direct Known Subclasses:
JRBasePie3DPlot
,JRDesignPiePlot
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
JRBaseChartPlot.JRBaseSeriesColor
Nested classes/interfaces inherited from interface net.sf.jasperreports.charts.JRChartPlot
JRChartPlot.JRSeriesColor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Boolean
protected JRItemLabel
protected String
protected String
static final String
static final String
static final String
static final String
static final String
protected Boolean
Fields inherited from class net.sf.jasperreports.charts.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
ConstructorsModifierConstructorDescriptionJRBasePiePlot
(JRChartPlot chartPlot, JRChart chart) protected
JRBasePiePlot
(JRChartPlot chartPlot, JRChart chart, ChartCopyObjectFactory copyObjectFactory) JRBasePiePlot
(JRPiePlot piePlot, ChartsBaseObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectExpressions
(ChartsExpressionCollector collector) void
setCircular
(Boolean isCircular) void
setItemLabel
(JRItemLabel itemLabel) void
setLabelFormat
(String labelFormat) void
setLegendLabelFormat
(String legendLabelFormat) void
setShowLabels
(Boolean showLabels) Methods inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlpha, getChart, getEventSupport, getForegroundAlpha, getLabelRotation, getOrientation, 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.charts.JRChartPlot
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Field Details
-
PROPERTY_CIRCULAR
- See Also:
-
PROPERTY_LABEL_FORMAT
- See Also:
-
PROPERTY_LEGEND_LABEL_FORMAT
- See Also:
-
PROPERTY_ITEM_LABEL
- See Also:
-
PROPERTY_SHOW_LABELS
- See Also:
-
circular
-
labelFormat
-
legendLabelFormat
-
itemLabel
-
showLabels
-
-
Constructor Details
-
JRBasePiePlot
-
JRBasePiePlot
protected JRBasePiePlot(JRChartPlot chartPlot, JRChart chart, ChartCopyObjectFactory copyObjectFactory) -
JRBasePiePlot
-
-
Method Details
-
collectExpressions
- Specified by:
collectExpressions
in interfaceJRChartPlot
-
getCircular
- Specified by:
getCircular
in interfaceJRPiePlot
- Returns:
- the circular
-
setCircular
- Parameters:
isCircular
- the isCircular to set
-
getLabelFormat
- Specified by:
getLabelFormat
in interfaceJRPiePlot
- Returns:
- the labelFormat
-
setLabelFormat
- Parameters:
labelFormat
- the labelFormat to set
-
getLegendLabelFormat
- Specified by:
getLegendLabelFormat
in interfaceJRPiePlot
- Returns:
- the legendLabelFormat
-
getItemLabel
- Specified by:
getItemLabel
in interfaceJRPiePlot
- Returns:
- a
JRItemLabel
object representing the item label
-
setLegendLabelFormat
- Parameters:
legendLabelFormat
- the legendLabelFormat to set
-
setItemLabel
- Parameters:
itemLabel
- the itemLabel to set
-
getShowLabels
- Specified by:
getShowLabels
in interfaceJRPiePlot
- Returns:
- a flag that specifies whether labels are to be shown or not
-
setShowLabels
-
clone
- Specified by:
clone
in interfaceJRChartPlot
- Overrides:
clone
in classJRBaseChartPlot
-