1 37 38 package org.jfree.chart.renderer; 39 40 import org.jfree.chart.plot.PlotRenderingInfo; 41 42 45 public class CategoryItemRendererState extends RendererState { 46 47 48 private double barWidth; 49 50 51 private double seriesRunningTotal; 52 53 58 public CategoryItemRendererState(PlotRenderingInfo info) { 59 super(info); 60 this.barWidth = 0.0; 61 this.seriesRunningTotal = 0.0; 62 } 63 64 69 public double getBarWidth() { 70 return this.barWidth; 71 } 72 73 79 public void setBarWidth(double width) { 80 this.barWidth = width; 81 } 82 83 88 public double getSeriesRunningTotal() { 89 return this.seriesRunningTotal; 90 } 91 92 97 void setSeriesRunningTotal(double total) { 98 this.seriesRunningTotal = total; 99 } 100 101 } 102 | Popular Tags |