- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetElementHinting()Returns the flag that controls whether or not the renderer should add rendering hints to the output that identify chart elements.EntityCollectiongetEntityCollection()A convenience method that returns a reference to the entity collection (may benull) being used to record chart entities.PlotRenderingInfogetInfo()Returns the plot rendering info.voidsetElementHinting(boolean hinting)Sets the elementHinting flag.
-
-
-
Constructor Detail
-
RendererState
public RendererState(PlotRenderingInfo info)
Creates a new state object.- Parameters:
info- the plot rendering info.
-
-
Method Detail
-
getElementHinting
public boolean 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
public void setElementHinting(boolean hinting)
Sets the elementHinting flag.- Parameters:
hinting- the new flag value.
-
getInfo
public PlotRenderingInfo getInfo()
Returns the plot rendering info.- Returns:
- The info.
-
getEntityCollection
public EntityCollection 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).
-
-