Package jadex.tools.comanalyzer.chart
Class ChartPiePlot
- java.lang.Object
- 
- org.jfree.chart.plot.Plot
- 
- org.jfree.chart.plot.PiePlot
- 
- jadex.tools.comanalyzer.chart.ChartPiePlot
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.util.EventListener,- org.jfree.chart.event.AxisChangeListener,- org.jfree.chart.event.MarkerChangeListener,- org.jfree.chart.LegendItemSource,- org.jfree.data.general.DatasetChangeListener,- org.jfree.util.PublicCloneable
 
 public class ChartPiePlot extends org.jfree.chart.plot.PiePlotSubclass that implements the use of the paint maps for providing the predefined shared colors for all tooltabs by overriding serveral methods.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.jfree.chart.plot.DrawingSupplierdrawingSupplierJFreeChart Sandard DrawingSupplier (Not used)protected PaintMapspaintMapsSupplies stored paint maps for the distributions (e.g.protected intpaintModeThe type of distribution currently usedprotected java.util.MapsectionPaintsStored paint maps for sections.- 
Fields inherited from class org.jfree.chart.plot.PiePlotDEFAULT_INTERIOR_GAP, DEFAULT_LABEL_BACKGROUND_PAINT, DEFAULT_LABEL_FONT, DEFAULT_LABEL_OUTLINE_PAINT, DEFAULT_LABEL_OUTLINE_STROKE, DEFAULT_LABEL_PAINT, DEFAULT_LABEL_SHADOW_PAINT, DEFAULT_MINIMUM_ARC_ANGLE_TO_DRAW, DEFAULT_START_ANGLE, localizationResources, MAX_INTERIOR_GAP
 
- 
 - 
Constructor SummaryConstructors Constructor Description ChartPiePlot(org.jfree.data.general.PieDataset dataset, PaintMaps paintMaps, int paintMode)Create a plot with given dataset, paint maps and paint mode.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPaintMode()protected java.awt.PaintlookupSectionPaint(java.lang.Comparable key, boolean autoPopulate)Returns the paint for the specified key.voidsetPaintMode(int paintMode)- 
Methods inherited from class org.jfree.chart.plot.PiePlotclearSectionOutlinePaints, clearSectionOutlineStrokes, clearSectionPaints, clone, draw, drawItem, drawLabels, drawLeftLabel, drawLeftLabels, drawPie, drawRightLabel, drawRightLabels, drawSimpleLabels, equals, getArcBounds, getAutoPopulateSectionOutlinePaint, getAutoPopulateSectionOutlineStroke, getAutoPopulateSectionPaint, getBaseSectionOutlinePaint, getBaseSectionOutlineStroke, getBaseSectionPaint, getDataset, getDirection, getExplodePercent, getExplodePercent, getIgnoreNullValues, getIgnoreZeroValues, getInteriorGap, getLabelBackgroundPaint, getLabelDistributor, getLabelFont, getLabelGap, getLabelGenerator, getLabelLinkDepth, getLabelLinkMargin, getLabelLinkPaint, getLabelLinkStroke, getLabelLinkStyle, getLabelLinksVisible, getLabelOutlinePaint, getLabelOutlineStroke, getLabelPadding, getLabelPaint, getLabelShadowPaint, getLegendItems, getLegendItemShape, getLegendLabelGenerator, getLegendLabelToolTipGenerator, getLegendLabelURLGenerator, getMaximumExplodePercent, getMaximumLabelWidth, getMinimumArcAngleToDraw, getPieIndex, getPlotType, getSectionKey, getSectionOutlinePaint, getSectionOutlinePaint, getSectionOutlinePaint, getSectionOutlineStroke, getSectionOutlineStroke, getSectionOutlineStroke, getSectionOutlinesVisible, getSectionPaint, getSectionPaint, getSectionPaint, getShadowPaint, getShadowXOffset, getShadowYOffset, getSimpleLabelOffset, getSimpleLabels, getStartAngle, getToolTipGenerator, getURLGenerator, initialise, isCircular, lookupSectionOutlinePaint, lookupSectionOutlinePaint, lookupSectionOutlineStroke, lookupSectionOutlineStroke, lookupSectionPaint, setAutoPopulateSectionOutlinePaint, setAutoPopulateSectionOutlineStroke, setAutoPopulateSectionPaint, setBaseSectionOutlinePaint, setBaseSectionOutlineStroke, setBaseSectionPaint, setCircular, setCircular, setDataset, setDirection, setExplodePercent, setExplodePercent, setIgnoreNullValues, setIgnoreZeroValues, setInteriorGap, setLabelBackgroundPaint, setLabelDistributor, setLabelFont, setLabelGap, setLabelGenerator, setLabelLinkMargin, setLabelLinkPaint, setLabelLinkStroke, setLabelLinkStyle, setLabelLinksVisible, setLabelOutlinePaint, setLabelOutlineStroke, setLabelPadding, setLabelPaint, setLabelShadowPaint, setLegendItemShape, setLegendLabelGenerator, setLegendLabelToolTipGenerator, setLegendLabelURLGenerator, setMaximumLabelWidth, setMinimumArcAngleToDraw, setPieIndex, setSectionOutlinePaint, setSectionOutlinePaint, setSectionOutlinePaint, setSectionOutlineStroke, setSectionOutlineStroke, setSectionOutlineStroke, setSectionOutlinesVisible, setSectionPaint, setSectionPaint, setSectionPaint, setShadowPaint, setShadowXOffset, setShadowYOffset, setSimpleLabelOffset, setSimpleLabels, setStartAngle, setToolTipGenerator, setURLGenerator
 - 
Methods inherited from class org.jfree.chart.plot.PlotaddChangeListener, 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, zoom
 
- 
 
- 
- 
- 
Field Detail- 
drawingSupplierprotected org.jfree.chart.plot.DrawingSupplier drawingSupplier JFreeChart Sandard DrawingSupplier (Not used)
 - 
paintMapsprotected PaintMaps paintMaps Supplies stored paint maps for the distributions (e.g. performativ)
 - 
paintModeprotected int paintMode The type of distribution currently used
 - 
sectionPaintsprotected java.util.Map sectionPaints Stored paint maps for sections.
 
- 
 - 
Constructor Detail- 
ChartPiePlotpublic ChartPiePlot(org.jfree.data.general.PieDataset dataset, PaintMaps paintMaps, int paintMode)Create a plot with given dataset, paint maps and paint mode.- Parameters:
- dataset- The datset.
- paintMaps- The paint maps.
- paintMode- The paint mode to use.
 
 
- 
 - 
Method Detail- 
lookupSectionPaintprotected java.awt.Paint lookupSectionPaint(java.lang.Comparable key, boolean autoPopulate)Returns the paint for the specified key.- Overrides:
- lookupSectionPaintin class- org.jfree.chart.plot.PiePlot
- Parameters:
- key- The key.
- autoPopulate- Not used.
- Returns:
- The paint.
 
 - 
getPaintModepublic int getPaintMode() - Returns:
- The paint mode.
 
 - 
setPaintModepublic void setPaintMode(int paintMode) - Parameters:
- paintMode- The paint mode to set
 
 
- 
 
-