1 32 33 package it.businesslogic.ireport.chart; 34 35 39 public class AreaPlot extends Plot{ 40 41 private String categoryAxisLabelExpression = ""; 42 private String valueAxisLabelExpression = ""; 43 44 private AxisFormat categoryAxisFormat = new AxisFormat(); 45 private AxisFormat valueAxisFormat = new AxisFormat(); 46 47 48 public AreaPlot() { 49 } 50 51 public String getCategoryAxisLabelExpression() { 52 return categoryAxisLabelExpression; 53 } 54 55 public void setCategoryAxisLabelExpression(String categoryAxisLabelExpression) { 56 this.categoryAxisLabelExpression = categoryAxisLabelExpression; 57 } 58 59 public String getValueAxisLabelExpression() { 60 return valueAxisLabelExpression; 61 } 62 63 public void setValueAxisLabelExpression(String valueAxisLabelExpression) { 64 this.valueAxisLabelExpression = valueAxisLabelExpression; 65 } 66 67 public Plot cloneMe() 68 { 69 AreaPlot obj = new AreaPlot(); 70 copyBasePlot(obj); 71 obj.setCategoryAxisLabelExpression( this.getCategoryAxisLabelExpression()); 72 obj.setValueAxisLabelExpression( this.getValueAxisLabelExpression()); 73 obj.setCategoryAxisFormat( getCategoryAxisFormat().cloneMe()); 74 obj.setValueAxisFormat( getValueAxisFormat().cloneMe()); 75 76 return obj; 77 } 78 79 public AxisFormat getCategoryAxisFormat() { 80 return categoryAxisFormat; 81 } 82 83 public void setCategoryAxisFormat(AxisFormat categoryAxisFormat) { 84 this.categoryAxisFormat = categoryAxisFormat; 85 } 86 87 public AxisFormat getValueAxisFormat() { 88 return valueAxisFormat; 89 } 90 91 public void setValueAxisFormat(AxisFormat valueAxisFormat) { 92 this.valueAxisFormat = valueAxisFormat; 93 } 94 } 95 | Popular Tags |