public static class

StandardXYItemRenderer.State

extends XYItemRendererState
java.lang.Object
   ↳ org.jfree.chart.renderer.RendererState
     ↳ org.jfree.chart.renderer.xy.XYItemRendererState
       ↳ org.jfree.chart.renderer.xy.StandardXYItemRenderer.State

Class Overview

Records the state for the renderer. This is used to preserve state information between calls to the drawItem() method for a single chart drawing.

Summary

Fields
public GeneralPath seriesPath The path for the current series.
[Expand]
Inherited Fields
From class org.jfree.chart.renderer.xy.XYItemRendererState
Public Constructors
StandardXYItemRenderer.State(PlotRenderingInfo info)
Creates a new state instance.
Public Methods
int getSeriesIndex()
Returns the series index for the current path.
boolean isLastPointGood()
Returns a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).
void setLastPointGood(boolean good)
Sets a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).
void setSeriesIndex(int index)
Sets the series index for the current path.
[Expand]
Inherited Methods
From class org.jfree.chart.renderer.xy.XYItemRendererState
From class org.jfree.chart.renderer.RendererState
From class java.lang.Object

Fields

public GeneralPath seriesPath

The path for the current series.

Public Constructors

public StandardXYItemRenderer.State (PlotRenderingInfo info)

Creates a new state instance.

Parameters
info the plot rendering info.

Public Methods

public int getSeriesIndex ()

Returns the series index for the current path.

Returns
  • The series index for the current path.

public boolean isLastPointGood ()

Returns a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).

Returns
  • A boolean.

public void setLastPointGood (boolean good)

Sets a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).

Parameters
good the flag.

public void setSeriesIndex (int index)

Sets the series index for the current path.

Parameters
index the index.