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
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
void
|
endSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
This method is called by the XYPlot when it ends a pass
through the (visible) items in a series.
|
int
|
getFirstItemIndex()
|
int
|
getLastItemIndex()
|
boolean
|
getProcessVisibleItemsOnly()
Returns the flag that controls whether the plot passes all data
items in each series to the renderer, or just the visible items.
|
void
|
setProcessVisibleItemsOnly(boolean flag)
Sets the flag that controls whether the plot passes all data
items in each series to the renderer, or just the visible items.
|
void
|
startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
This method is called by the XYPlot when it starts a pass
through the (visible) items in a series.
|
|
From class
org.jfree.chart.renderer.RendererState
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
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).
public
void
setLastPointGood
(boolean good)
Sets a flag that indicates if the last point drawn (in the current
series) was 'good' (non-null).
public
void
setSeriesIndex
(int index)
Sets the series index for the current path.