public static class XYLineAndShapeRenderer.State extends XYItemRendererState
Modifier and Type | Field and Description |
---|---|
java.awt.geom.GeneralPath |
seriesPath
The path for the current series.
|
workingLine
Constructor and Description |
---|
State(PlotRenderingInfo info)
Creates a new state instance.
|
Modifier and Type | Method and Description |
---|---|
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 |
startSeriesPass(XYDataset dataset,
int series,
int firstItem,
int lastItem,
int pass,
int passCount)
This method is called by the
XYPlot at the start of each
series pass. |
endSeriesPass, getFirstItemIndex, getLastItemIndex, getProcessVisibleItemsOnly, setProcessVisibleItemsOnly
getEntityCollection, getInfo
public java.awt.geom.GeneralPath seriesPath
public State(PlotRenderingInfo info)
info
- the plot rendering info.public boolean isLastPointGood()
public void setLastPointGood(boolean good)
good
- the flag.public void startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)
XYPlot
at the start of each
series pass. We reset the state for the current series.startSeriesPass
in class XYItemRendererState
dataset
- the dataset.series
- the series index.firstItem
- the first item index for this pass.lastItem
- the last item index for this pass.pass
- the current pass index.passCount
- the number of passes.XYItemRendererState.endSeriesPass(XYDataset, int, int, int, int, int)