org.jfree.chart.renderer.category
Class CategoryItemRendererState

java.lang.Object
  extended by org.jfree.chart.renderer.RendererState
      extended by org.jfree.chart.renderer.category.CategoryItemRendererState
Direct Known Subclasses:
CategoryStepRenderer.State

public class CategoryItemRendererState
extends RendererState

An object that retains temporary state information for a CategoryItemRenderer.


Constructor Summary
CategoryItemRendererState(PlotRenderingInfo info)
          Creates a new object for recording temporary state information for a renderer.
 
Method Summary
 double getBarWidth()
          Returns the bar width.
 double getSeriesRunningTotal()
          Returns the series running total.
 void setBarWidth(double width)
          Sets the bar width.
 
Methods inherited from class org.jfree.chart.renderer.RendererState
getEntityCollection, getInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryItemRendererState

public CategoryItemRendererState(PlotRenderingInfo info)
Creates a new object for recording temporary state information for a renderer.

Parameters:
info - the plot rendering info (null permitted).
Method Detail

getBarWidth

public double getBarWidth()
Returns the bar width.

Returns:
The bar width.
See Also:
setBarWidth(double)

setBarWidth

public void setBarWidth(double width)
Sets the bar width. The renderer calculates this value and stores it here - it is not intended that users can manually set the bar width.

Parameters:
width - the width.
See Also:
getBarWidth()

getSeriesRunningTotal

public double getSeriesRunningTotal()
Returns the series running total.

Returns:
The running total.
See Also:
setSeriesRunningTotal(double)