it.eng.spagobi.engines.chart.bo.charttypes.utils
Class MyDialPlot

java.lang.Object
  extended by org.jfree.chart.plot.Plot
      extended by org.jfree.chart.plot.dial.DialPlot
          extended by it.eng.spagobi.engines.chart.bo.charttypes.utils.MyDialPlot
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.chart.plot.dial.DialLayerChangeListener, org.jfree.data.general.DatasetChangeListener, org.jfree.util.PublicCloneable

public class MyDialPlot
extends org.jfree.chart.plot.dial.DialPlot

Author:
Antonella Giachino (antonella.giachino@eng.it)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jfree.chart.plot.Plot
DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_INSETS, DEFAULT_LEGEND_ITEM_BOX, DEFAULT_LEGEND_ITEM_CIRCLE, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, ZERO
 
Constructor Summary
MyDialPlot()
           
 
Method Summary
 org.jfree.chart.LegendItemCollection getLegendItems()
          Returns the legend items for the plot.
 void setLegendItems(org.jfree.chart.LegendItemCollection legendItems)
           
 
Methods inherited from class org.jfree.chart.plot.dial.DialPlot
addLayer, addPointer, addScale, dialLayerChanged, draw, equals, getBackground, getCap, getDataset, getDataset, getDatasetCount, getDialFrame, getLayerIndex, getPlotType, getPointerForDataset, getPointerIndex, getScale, getScaleForDataset, getValue, getViewHeight, getViewWidth, getViewX, getViewY, hashCode, mapDatasetToScale, rectangleByRadius, removeLayer, removeLayer, removePointer, removePointer, setBackground, setCap, setDataset, setDataset, setDialFrame, setView
 
Methods inherited from class org.jfree.chart.plot.Plot
addChangeListener, axisChanged, clone, datasetChanged, drawBackground, drawBackgroundImage, drawNoDataMessage, drawOutline, fillBackground, fillBackground, 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, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setOutlinePaint, setOutlineStroke, setOutlineVisible, setParent, zoom
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyDialPlot

public MyDialPlot()
Method Detail

getLegendItems

public org.jfree.chart.LegendItemCollection getLegendItems()
Returns the legend items for the plot. By default, this method returns null. Subclasses should override to return a LegendItemCollection.

Specified by:
getLegendItems in interface org.jfree.chart.LegendItemSource
Overrides:
getLegendItems in class org.jfree.chart.plot.Plot
Returns:
The legend items for the dial plot (possibly null).

setLegendItems

public void setLegendItems(org.jfree.chart.LegendItemCollection legendItems)
Parameters:
legendItems - the legendItems to set