|
SSJ V. 2.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectXYLineAndShapeRenderer
umontreal.iro.lecuyer.charts.EmpiricalRenderer
public class EmpiricalRenderer
A renderer that draws horizontal lines between points and/or draws shapes at each data point to provide an empirical style chart. This renderer is designed for use with the {XYPlot} class.
Constructor Summary | |
---|---|
EmpiricalRenderer()
Creates a new renderer. |
|
EmpiricalRenderer(XYToolTipGenerator toolTipGenerator,
XYURLGenerator urlGenerator)
Creates a new renderer with selected tool tip and url generators. |
Method Summary | |
---|---|
Object |
clone()
Returns a clone of the renderer. |
void |
drawItem(Graphics2D g2,
XYItemRendererState state,
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmpiricalRenderer()
public EmpiricalRenderer(XYToolTipGenerator toolTipGenerator, XYURLGenerator urlGenerator)
toolTipGenerator
- Tool tip generator.urlGenerator
- Url generator.Method Detail |
---|
public void drawItem(Graphics2D g2, XYItemRendererState state, 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 Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- if the clone cannot be created.
|
SSJ V. 2.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |