Package org.jfree.chart.renderer
Class RendererState
java.lang.Object
org.jfree.chart.renderer.RendererState
- Direct Known Subclasses:
CategoryItemRendererState
,PiePlotState
,XYItemRendererState
public class RendererState extends Object
Represents the current state of a renderer.
-
Constructor Summary
Constructors Constructor Description RendererState(PlotRenderingInfo info)
Creates a new state object. -
Method Summary
Modifier and Type Method Description boolean
getElementHinting()
Returns the flag that controls whether or not the renderer should add rendering hints to the output that identify chart elements.EntityCollection
getEntityCollection()
A convenience method that returns a reference to the entity collection (may benull
) being used to record chart entities.PlotRenderingInfo
getInfo()
Returns the plot rendering info.void
setElementHinting(boolean hinting)
Sets the elementHinting flag.
-
Constructor Details
-
RendererState
Creates a new state object.- Parameters:
info
- the plot rendering info.
-
-
Method Details
-
getElementHinting
Returns the flag that controls whether or not the renderer should add rendering hints to the output that identify chart elements.- Returns:
- A boolean.
-
setElementHinting
Sets the elementHinting flag.- Parameters:
hinting
- the new flag value.
-
getInfo
Returns the plot rendering info.- Returns:
- The info.
-
getEntityCollection
A convenience method that returns a reference to the entity collection (may benull
) being used to record chart entities.- Returns:
- The entity collection (possibly
null
).
-