org.jfree.chart.renderer.xy

Class XYItemRendererState

Known Direct Subclasses:
StandardXYItemRenderer.State, XYBarRenderer.XYBarRendererState, XYLineAndShapeRenderer.State

public class XYItemRendererState
extends RendererState

The state for an XYItemRenderer.

Field Summary

Line2D
workingLine
A line object that the renderer can reuse to save instantiating a lot of objects.

Constructor Summary

XYItemRendererState(PlotRenderingInfo info)
Creates a new state.

Method Summary

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.

Methods inherited from class org.jfree.chart.renderer.RendererState

getEntityCollection, getInfo

Field Details

workingLine

public Line2D workingLine
A line object that the renderer can reuse to save instantiating a lot of objects.

Constructor Details

XYItemRendererState

public XYItemRendererState(PlotRenderingInfo info)
Creates a new state.
Parameters:
info - the plot rendering info.

Method Details

getProcessVisibleItemsOnly

public 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. The default value is true.
Returns:
A boolean.
Since:
1.0.6

setProcessVisibleItemsOnly

public 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.
Parameters:
flag - the new flag value.
Since:
1.0.6