edu.cuny.jfree.chart.plot
Class MyMeterPlot

java.lang.Object
  extended by org.jfree.chart.plot.Plot
      extended by org.jfree.chart.plot.MeterPlot
          extended by edu.cuny.jfree.chart.plot.MyMeterPlot
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 MyMeterPlot
extends org.jfree.chart.plot.MeterPlot

A customized org.jfree.chart.plot.MeterPlot, which do not show the bound labels of org.jfree.chart.plot.MeterIntervals.

Version:
$Revision: 1.6 $
Author:
Jinzhong Niu
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jfree.chart.plot.MeterPlot
DEFAULT_BORDER_SIZE, DEFAULT_CIRCLE_SIZE, DEFAULT_LABEL_FONT, DEFAULT_METER_ANGLE, localizationResources
 
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
MyMeterPlot()
           
MyMeterPlot(org.jfree.data.general.ValueDataset dataset)
           
 
Method Summary
protected  void drawArcForInterval(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D meterArea, org.jfree.chart.plot.MeterInterval interval)
          Draws the arc to represent an interval.
 
Methods inherited from class org.jfree.chart.plot.MeterPlot
addInterval, clearIntervals, clone, draw, drawArc, drawTick, drawTick, drawTicks, drawValueLabel, equals, fillArc, getDataset, getDialBackgroundPaint, getDialOutlinePaint, getDialShape, getDrawBorder, getIntervals, getLegendItems, getMeterAngle, getNeedlePaint, getPlotType, getRange, getTickLabelFont, getTickLabelFormat, getTickLabelPaint, getTickLabelsVisible, getTickPaint, getTickSize, getUnits, getValueFont, getValuePaint, setDataset, setDialBackgroundPaint, setDialOutlinePaint, setDialShape, setDrawBorder, setMeterAngle, setNeedlePaint, setRange, setTickLabelFont, setTickLabelFormat, setTickLabelPaint, setTickLabelsVisible, setTickPaint, setTickSize, setUnits, setValueFont, setValuePaint, valueToAngle, zoom
 
Methods inherited from class org.jfree.chart.plot.Plot
addChangeListener, axisChanged, createAndAddEntity, 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, isNotify, isOutlineVisible, isSubplot, markerChanged, notifyListeners, removeChangeListener, resolveDomainAxisLocation, resolveRangeAxisLocation, setBackgroundAlpha, setBackgroundImage, setBackgroundImageAlignment, setBackgroundImageAlpha, setBackgroundPaint, setDatasetGroup, setDrawingSupplier, setDrawingSupplier, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setNotify, setOutlinePaint, setOutlineStroke, setOutlineVisible, setParent
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyMeterPlot

public MyMeterPlot()

MyMeterPlot

public MyMeterPlot(org.jfree.data.general.ValueDataset dataset)
Method Detail

drawArcForInterval

protected void drawArcForInterval(java.awt.Graphics2D g2,
                                  java.awt.geom.Rectangle2D meterArea,
                                  org.jfree.chart.plot.MeterInterval interval)
Draws the arc to represent an interval.

Overrides:
drawArcForInterval in class org.jfree.chart.plot.MeterPlot
Parameters:
g2 - the graphics device.
meterArea - the drawing area.
interval - the interval.