org.jfree.chart.renderer

Class RendererState

Known Direct Subclasses:
CategoryItemRendererState, PiePlotState, XYItemRendererState

public class RendererState
extends java.lang.Object

Represents the current state of a renderer.

Constructor Summary

RendererState(PlotRenderingInfo info)
Creates a new state object.

Method Summary

EntityCollection
getEntityCollection()
A convenience method that returns a reference to the entity collection (may be null) being used to record chart entities.
PlotRenderingInfo
getInfo()
Returns the plot rendering info.

Constructor Details

RendererState

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

Method Details

getEntityCollection

public EntityCollection getEntityCollection()
A convenience method that returns a reference to the entity collection (may be null) being used to record chart entities.
Returns:
The entity collection (possibly null).

getInfo

public PlotRenderingInfo getInfo()
Returns the plot rendering info.
Returns:
The info.