org.jfree.chart.renderer.category
public class: CategoryItemRendererState [javadoc |
source]
java.lang.Object
org.jfree.chart.renderer.RendererState
org.jfree.chart.renderer.category.CategoryItemRendererState
Direct Known Subclasses:
State
An object that retains temporary state information for a
CategoryItemRenderer .
| Constructor: |
public CategoryItemRendererState(PlotRenderingInfo info) {
super(info);
this.barWidth = 0.0;
this.seriesRunningTotal = 0.0;
}
Creates a new object for recording temporary state information for a
renderer. Parameters:
info - the plot rendering info (null permitted).
|
| Method from org.jfree.chart.renderer.category.CategoryItemRendererState Detail: |
public double getBarWidth() {
return this.barWidth;
}
|
public double getSeriesRunningTotal() {
return this.seriesRunningTotal;
}
Returns the series running total. |
public void setBarWidth(double width) {
this.barWidth = 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. |
void setSeriesRunningTotal(double total) {
this.seriesRunningTotal = total;
}
Sets the series running total (this method is intended for the use of
the renderer only). |