Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jfree.chart.renderer.xy
Class XYLineAndShapeRenderer.State  view XYLineAndShapeRenderer.State download XYLineAndShapeRenderer.State.java

java.lang.Object
  extended byorg.jfree.chart.renderer.RendererState
      extended byorg.jfree.chart.renderer.xy.XYItemRendererState
          extended byorg.jfree.chart.renderer.xy.XYLineAndShapeRenderer.State
Enclosing class:
XYLineAndShapeRenderer

public static class XYLineAndShapeRenderer.State
extends XYItemRendererState

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


Field Summary
private  boolean lastPointGood
          A flag that indicates if the last (x, y) point was 'good' (non-null).
 java.awt.geom.GeneralPath seriesPath
          The path for the current series.
 
Fields inherited from class org.jfree.chart.renderer.xy.XYItemRendererState
workingLine
 
Fields inherited from class org.jfree.chart.renderer.RendererState
 
Constructor Summary
XYLineAndShapeRenderer.State(org.jfree.chart.plot.PlotRenderingInfo info)
          Creates a new state instance.
 
Method Summary
 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).
 
Methods inherited from class org.jfree.chart.renderer.RendererState
getInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seriesPath

public java.awt.geom.GeneralPath seriesPath
The path for the current series.


lastPointGood

private boolean lastPointGood
A flag that indicates if the last (x, y) point was 'good' (non-null).

Constructor Detail

XYLineAndShapeRenderer.State

public XYLineAndShapeRenderer.State(org.jfree.chart.plot.PlotRenderingInfo info)
Creates a new state instance.

Method Detail

isLastPointGood

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


setLastPointGood

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