org.jfree.chart.renderer.category

Class CategoryItemRendererState

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
doublegetBarWidth()
Returns the bar width.
doublegetSeriesRunningTotal()
Returns the series running total.
voidsetBarWidth(double width)
Sets the bar width.

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: CategoryItemRendererState

getSeriesRunningTotal

public double getSeriesRunningTotal()
Returns the series running total.

Returns: The running total.

See Also: CategoryItemRendererState

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