|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.renderer.AbstractRenderer
org.jfree.chart.renderer.AbstractXYItemRenderer
org.jfree.chart.renderer.SignalRenderer
A renderer that draws signals on an XYPlot.
| Field Summary |
| Fields inherited from class org.jfree.chart.renderer.AbstractRenderer |
DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, DEFAULT_PAINT, DEFAULT_SHAPE, DEFAULT_STROKE, DEFAULT_VALUE_LABEL_FONT, DEFAULT_VALUE_LABEL_PAINT, ZERO |
| Constructor Summary | |
SignalRenderer()
Creates a new renderer. |
|
| Method Summary | |
java.lang.Object |
clone()
Returns a clone of the renderer. |
void |
drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis horizontalAxis,
ValueAxis verticalAxis,
XYDataset dataset,
int series,
int item,
CrosshairInfo crosshairInfo,
int pass)
Draws the visual representation of a single data item. |
double |
getMarkOffset()
Returns the mark offset. |
double |
getShapeHeight()
Returns the shape height. |
double |
getShapeWidth()
Returns the shape width. |
void |
setMarkOffset(double offset)
Sets the mark offset. |
void |
setShapeHeight(double height)
Sets the shape height. |
void |
setShapeWidth(double width)
Sets the shape width. |
| Methods inherited from class org.jfree.chart.renderer.AbstractXYItemRenderer |
drawDomainGridLine, drawDomainMarker, drawRangeGridLine, drawRangeMarker, equals, fillDomainGridBand, fillRangeGridBand, getDrawingSupplier, getLegendItem, getPassCount, getPlot, getRangeType, getToolTipGenerator, getURLGenerator, initialise, setPlot, setToolTipGenerator, setURLGenerator |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SignalRenderer()
| Method Detail |
public double getMarkOffset()
public void setMarkOffset(double offset)
offset - the mark offset.public double getShapeWidth()
public void setShapeWidth(double width)
width - the shape width.public double getShapeHeight()
public void setShapeHeight(double height)
height - the shape height.
public void drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis horizontalAxis,
ValueAxis verticalAxis,
XYDataset dataset,
int series,
int item,
CrosshairInfo crosshairInfo,
int pass)
drawItem in interface XYItemRendererg2 - the graphics device.state - the renderer state.dataArea - the area within which the plot is being drawn.info - collects information about the drawing.plot - the plot (can be used to obtain standard color information etc).horizontalAxis - the horizontal axis.verticalAxis - the vertical axis.dataset - the dataset.series - the series index (zero-based).item - the item index (zero-based).crosshairInfo - information about crosshairs on a plot.pass - the pass index.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface org.jfree.util.PublicCloneableclone in class AbstractXYItemRendererjava.lang.CloneNotSupportedException - if the renderer cannot be cloned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||