java.lang.Object | ||
↳ | org.jfree.chart.renderer.RendererState | |
↳ | org.jfree.chart.renderer.xy.XYItemRendererState |
![]() |
![]() |
The state for an XYItemRenderer
.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
workingLine | A line object that the renderer can reuse to save instantiating a lot of objects. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new state.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is called by the
XYPlot when it ends a pass
through the (visible) items in a series. | |||||||||||
Returns the first item index (this is updated with each call to
startSeriesPass(XYDataset, int, int, int, int, int) . | |||||||||||
Returns the last item index (this is updated with each call to
startSeriesPass(XYDataset, int, int, int, int, int) . | |||||||||||
Returns the flag that controls whether the plot passes all data
items in each series to the renderer, or just the visible items.
| |||||||||||
Sets the flag that controls whether the plot passes all data
items in each series to the renderer, or just the visible items.
| |||||||||||
This method is called by the
XYPlot when it starts a pass
through the (visible) items in a series. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
A line object that the renderer can reuse to save instantiating a lot of objects.
Creates a new state.
info | the plot rendering info. |
---|
This method is called by the XYPlot
when it ends a pass
through the (visible) items in a series. The default implementation
does nothing, but you can override this method to implement specialised
behaviour.
dataset | the dataset. |
---|---|
series | the series index. |
firstItem | the index of the first item in the series. |
lastItem | the index of the last item in the series. |
pass | the pass index. |
passCount | the number of passes. |
Returns the first item index (this is updated with each call to
startSeriesPass(XYDataset, int, int, int, int, int)
.
Returns the last item index (this is updated with each call to
startSeriesPass(XYDataset, int, int, int, int, int)
.
Returns the flag that controls whether the plot passes all data
items in each series to the renderer, or just the visible items. The
default value is true
.
Sets the flag that controls whether the plot passes all data items in each series to the renderer, or just the visible items.
flag | the new flag value. |
---|
This method is called by the XYPlot
when it starts a pass
through the (visible) items in a series. The default implementation
records the first and last item indices - override this method to
implement additional specialised behaviour.
dataset | the dataset. |
---|---|
series | the series index. |
firstItem | the index of the first item in the series. |
lastItem | the index of the last item in the series. |
pass | the pass index. |
passCount | the number of passes. |