Package org.jfree.chart.renderer.xy
Class StandardXYItemRenderer.State
java.lang.Object
org.jfree.chart.renderer.RendererState
org.jfree.chart.renderer.xy.XYItemRendererState
org.jfree.chart.renderer.xy.StandardXYItemRenderer.State
- Enclosing class:
StandardXYItemRenderer
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
FieldsFields inherited from class org.jfree.chart.renderer.xy.XYItemRendererState
workingLine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the series index for the current path.booleanReturns a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).voidsetLastPointGood(boolean good) Sets a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).voidsetSeriesIndex(int index) Sets the series index for the current path.Methods inherited from class org.jfree.chart.renderer.xy.XYItemRendererState
endSeriesPass, getFirstItemIndex, getLastItemIndex, getProcessVisibleItemsOnly, setProcessVisibleItemsOnly, startSeriesPassMethods inherited from class org.jfree.chart.renderer.RendererState
getElementHinting, getEntityCollection, getInfo, setElementHinting
-
Field Details
-
seriesPath
The path for the current series.
-
-
Constructor Details
-
State
Creates a new state instance.- Parameters:
info- the plot rendering info.
-
-
Method Details
-
isLastPointGood
Returns a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).- Returns:
- A boolean.
-
setLastPointGood
Sets a flag that indicates if the last point drawn (in the current series) was 'good' (non-null).- Parameters:
good- the flag.
-
getSeriesIndex
Returns the series index for the current path.- Returns:
- The series index for the current path.
-
setSeriesIndex
Sets the series index for the current path.- Parameters:
index- the index.
-