public class ChartMultiplePiePlot
extends org.jfree.chart.plot.MultiplePiePlot
| Modifier and Type | Field and Description |
|---|---|
protected org.jfree.chart.plot.DrawingSupplier |
drawingSupplier
JFreeChart Sandard DrawingSupplier (Not used)
|
protected PaintMaps |
paintMaps
Supplies stored paint maps for the other distributions (e.g.
|
protected int |
paintMode
The type of distribution currently used
|
protected java.util.Map |
sectionPaints
Stored paintMaps for sections.
|
| Constructor and Description |
|---|
ChartMultiplePiePlot(org.jfree.data.category.CategoryDataset dataset,
PaintMaps paintMaps)
Creates a new plot with a given dataset and paint maps.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
org.jfree.chart.plot.PlotState parentState,
org.jfree.chart.plot.PlotRenderingInfo info)
Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
|
org.jfree.chart.labels.CategoryItemLabelGenerator |
getBaseItemLabelGenerator() |
org.jfree.chart.urls.CategoryURLGenerator |
getBaseItemURLGenerator() |
org.jfree.chart.labels.CategoryToolTipGenerator |
getBaseToolTipGenerator() |
org.jfree.chart.labels.CategoryItemLabelGenerator |
getLegendItemLabelGenerator() |
org.jfree.chart.LegendItemCollection |
getLegendItems()
Returns a collection of legend items for the pie chart.
|
int |
getPaintMode() |
org.jfree.chart.plot.PiePlot |
getPiePlot() |
protected java.awt.Paint |
lookupSectionPaint(java.lang.Comparable key)
Returns the paint for the specified key from the paint maps.
|
void |
setBaseItemLabelGenerator(org.jfree.chart.labels.CategoryItemLabelGenerator baseItemLabelGenerator) |
void |
setBaseItemURLGenerator(org.jfree.chart.urls.CategoryURLGenerator baseItemURLGenerator) |
void |
setBaseToolTipGenerator(org.jfree.chart.labels.CategoryToolTipGenerator baseToolTipGenerator) |
void |
setLegendItemLabelGenerator(org.jfree.chart.labels.CategoryItemLabelGenerator legendItemLabelGenerator) |
void |
setPaintMode(int paintMode) |
clone, equals, getAggregatedItemsKey, getAggregatedItemsPaint, getDataExtractOrder, getDataset, getLegendItemShape, getLimit, getPieChart, getPlotType, setAggregatedItemsKey, setAggregatedItemsPaint, setDataExtractOrder, setDataset, setLegendItemShape, setLimit, setPieChartaddChangeListener, axisChanged, datasetChanged, drawBackground, drawBackgroundImage, drawNoDataMessage, drawOutline, fillBackground, fillBackground, fireChangeEvent, getBackgroundAlpha, getBackgroundImage, getBackgroundImageAlignment, getBackgroundImageAlpha, getBackgroundPaint, getDatasetGroup, getDrawingSupplier, getForegroundAlpha, getInsets, getNoDataMessage, getNoDataMessageFont, getNoDataMessagePaint, getOutlinePaint, getOutlineStroke, getParent, getRectX, getRectY, getRootPlot, handleClick, isOutlineVisible, isSubplot, markerChanged, notifyListeners, removeChangeListener, resolveDomainAxisLocation, resolveRangeAxisLocation, setBackgroundAlpha, setBackgroundImage, setBackgroundImageAlignment, setBackgroundImageAlpha, setBackgroundPaint, setDatasetGroup, setDrawingSupplier, setDrawingSupplier, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setOutlinePaint, setOutlineStroke, setOutlineVisible, setParent, zoomprotected org.jfree.chart.plot.DrawingSupplier drawingSupplier
protected PaintMaps paintMaps
protected int paintMode
protected java.util.Map sectionPaints
public ChartMultiplePiePlot(org.jfree.data.category.CategoryDataset dataset,
PaintMaps paintMaps)
dataset - The dataset.paintMaps - The paint maps..public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D area,
java.awt.geom.Point2D anchor,
org.jfree.chart.plot.PlotState parentState,
org.jfree.chart.plot.PlotRenderingInfo info)
draw in class org.jfree.chart.plot.MultiplePiePlotg2 - the graphics device.area - the area within which the plot should be drawn.anchor - the anchor point (null permitted).parentState - the state from the parent plot, if there is one.info - collects info about the drawing.public org.jfree.chart.LegendItemCollection getLegendItems()
getLegendItems in interface org.jfree.chart.LegendItemSourcegetLegendItems in class org.jfree.chart.plot.MultiplePiePlotprotected java.awt.Paint lookupSectionPaint(java.lang.Comparable key)
key - The key.public org.jfree.chart.plot.PiePlot getPiePlot()
public int getPaintMode()
public void setPaintMode(int paintMode)
paintMode - The paint mode to set.public org.jfree.chart.labels.CategoryItemLabelGenerator getBaseItemLabelGenerator()
public void setBaseItemLabelGenerator(org.jfree.chart.labels.CategoryItemLabelGenerator baseItemLabelGenerator)
baseItemLabelGenerator - The BaseItemLabelGenerator to set.public org.jfree.chart.urls.CategoryURLGenerator getBaseItemURLGenerator()
public void setBaseItemURLGenerator(org.jfree.chart.urls.CategoryURLGenerator baseItemURLGenerator)
baseItemURLGenerator - The BaseItemURLGenerator to set.public org.jfree.chart.labels.CategoryToolTipGenerator getBaseToolTipGenerator()
public void setBaseToolTipGenerator(org.jfree.chart.labels.CategoryToolTipGenerator baseToolTipGenerator)
baseToolTipGenerator - The BaseToolTipGenerator to set.public org.jfree.chart.labels.CategoryItemLabelGenerator getLegendItemLabelGenerator()
public void setLegendItemLabelGenerator(org.jfree.chart.labels.CategoryItemLabelGenerator legendItemLabelGenerator)
legendItemLabelGenerator - The LegendItemLabelGenerator to set.