public class EmpiricalRenderer
extends XYLineAndShapeRenderer
implements java.lang.Cloneable
| Constructor and Description |
|---|
EmpiricalRenderer()
Creates a new renderer.
|
EmpiricalRenderer(XYToolTipGenerator toolTipGenerator,
XYURLGenerator urlGenerator)
Creates a new renderer with selected tool tip and url generators.
|
| Modifier and Type | Method and Description |
|---|---|
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 domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairState crosshairState,
int pass)
Draws the visual representation of a single data item.
|
public EmpiricalRenderer()
public EmpiricalRenderer(XYToolTipGenerator toolTipGenerator,
XYURLGenerator urlGenerator)
toolTipGenerator - Tool tip generator.urlGenerator - Url generator.public void drawItem(java.awt.Graphics2D g2,
XYItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
PlotRenderingInfo info,
XYPlot plot,
ValueAxis domainAxis,
ValueAxis rangeAxis,
XYDataset dataset,
int series,
int item,
CrosshairState crosshairState,
int pass)
g2 - the graphics device.state - the renderer state.dataArea - the area within which the data is being drawn.info - collects information about the drawing.plot - the plot (can be used to obtain standard color
information etc).domainAxis - the domain axis.rangeAxis - the range axis.dataset - the dataset.series - the series index (zero-based).item - the item index (zero-based).crosshairState - crosshair information for the plot
(null permitted).pass - the pass index.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException - if the clone cannot be created.To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.