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.JRBaseSeriesColorNested classes/interfaces inherited from interface net.sf.jasperreports.charts.JRChartPlot
JRChartPlot.JRSeriesColor -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected JRItemLabelprotected Stringprotected Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected BooleanFields 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) protectedJRBasePiePlot(JRChartPlot chartPlot, JRChart chart, ChartCopyObjectFactory copyObjectFactory) JRBasePiePlot(JRPiePlot piePlot, ChartsBaseObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectExpressions(ChartsExpressionCollector collector) voidsetCircular(Boolean isCircular) voidsetItemLabel(JRItemLabel itemLabel) voidsetLabelFormat(String labelFormat) voidsetLegendLabelFormat(String legendLabelFormat) voidsetShowLabels(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, setSeriesColorsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.charts.JRChartPlot
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColorsMethods 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:
collectExpressionsin interfaceJRChartPlot
-
getCircular
- Specified by:
getCircularin interfaceJRPiePlot- Returns:
- the circular
-
setCircular
- Parameters:
isCircular- the isCircular to set
-
getLabelFormat
- Specified by:
getLabelFormatin interfaceJRPiePlot- Returns:
- the labelFormat
-
setLabelFormat
- Parameters:
labelFormat- the labelFormat to set
-
getLegendLabelFormat
- Specified by:
getLegendLabelFormatin interfaceJRPiePlot- Returns:
- the legendLabelFormat
-
getItemLabel
- Specified by:
getItemLabelin interfaceJRPiePlot- Returns:
- a
JRItemLabelobject representing the item label
-
setLegendLabelFormat
- Parameters:
legendLabelFormat- the legendLabelFormat to set
-
setItemLabel
- Parameters:
itemLabel- the itemLabel to set
-
getShowLabels
- Specified by:
getShowLabelsin interfaceJRPiePlot- Returns:
- a flag that specifies whether labels are to be shown or not
-
setShowLabels
-
clone
- Specified by:
clonein interfaceJRChartPlot- Overrides:
clonein classJRBaseChartPlot
-