1 42 43 package org.jfree.chart.renderer.category; 44 45 import org.jfree.chart.plot.PlotRenderingInfo; 46 import org.jfree.chart.renderer.RendererState; 47 48 52 public class CategoryItemRendererState extends RendererState { 53 54 55 private double barWidth; 56 57 58 private double seriesRunningTotal; 59 60 66 public CategoryItemRendererState(PlotRenderingInfo info) { 67 super(info); 68 this.barWidth = 0.0; 69 this.seriesRunningTotal = 0.0; 70 } 71 72 77 public double getBarWidth() { 78 return this.barWidth; 79 } 80 81 87 public void setBarWidth(double width) { 88 this.barWidth = width; 89 } 90 91 96 public double getSeriesRunningTotal() { 97 return this.seriesRunningTotal; 98 } 99 100 106 void setSeriesRunningTotal(double total) { 107 this.seriesRunningTotal = total; 108 } 109 110 } 111 | Popular Tags |