|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.plot.Plot
org.jfree.chart.plot.MeterPlot
edu.cuny.jfree.chart.plot.MyMeterPlot
public class MyMeterPlot
A customized org.jfree.chart.plot.MeterPlot
, which do not show
the bound labels of org.jfree.chart.plot.MeterInterval
s.
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 |
---|
public MyMeterPlot()
public MyMeterPlot(org.jfree.data.general.ValueDataset dataset)
Method Detail |
---|
protected void drawArcForInterval(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D meterArea, org.jfree.chart.plot.MeterInterval interval)
drawArcForInterval
in class org.jfree.chart.plot.MeterPlot
g2
- the graphics device.meterArea
- the drawing area.interval
- the interval.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |