Module platform

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 Details

    • RendererState

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

    • 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 be null) being used to record chart entities.
      Returns:
      The entity collection (possibly null).