1 32 33 package it.businesslogic.ireport.chart; 34 import java.util.*; 35 39 public class ChartDefinition { 40 41 private javax.swing.ImageIcon icon; 42 private String [] neededSeries; 43 private String chartCategory = ""; 44 private String chartName = ""; 45 private Vector sheetProperties = null; 46 47 48 49 public ChartDefinition() { 50 setSheetProperties(new Vector()); 51 } 52 53 public javax.swing.ImageIcon getIcon() { 54 return icon; 55 } 56 57 public void setIcon(javax.swing.ImageIcon icon) { 58 this.icon = icon; 59 } 60 61 public String [] getNeededSeries() { 62 return neededSeries; 63 } 64 65 public void setNeededSeries(String [] neededSeries) { 66 this.neededSeries = neededSeries; 67 } 68 69 public String getType() { 70 return chartCategory; 71 } 72 73 public void setType(String type) { 74 this.chartCategory = type; 75 } 76 77 public String getChartName() { 78 return chartName; 79 } 80 81 public void setChartName(String chartName) { 82 this.chartName = chartName; 83 } 84 85 public String toString() 86 { 87 return getChartName(); 88 89 } 90 91 private String factory; 92 93 public String getFactory() { 94 return factory; 95 } 96 97 public void setFactory(String factory) { 98 this.factory = factory; 99 } 100 101 public Vector getSheetProperties() { 102 return sheetProperties; 103 } 104 105 public void setSheetProperties(Vector sheetProperties) { 106 this.sheetProperties = sheetProperties; 107 } 108 } 109 | Popular Tags |