1 28 package net.sf.jasperreports.crosstabs.design; 29 30 import net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell; 31 import net.sf.jasperreports.engine.JRConstants; 32 33 40 public class JRDesignCrosstabCell extends JRBaseCrosstabCell 41 { 42 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 43 44 45 48 public JRDesignCrosstabCell() 49 { 50 contents = new JRDesignCellContents(); 51 } 52 53 54 60 public void setColumnTotalGroup(String columnTotalGroup) 61 { 62 this.columnTotalGroup = columnTotalGroup; 63 } 64 65 66 72 public void setContents(JRDesignCellContents contents) 73 { 74 if (contents == null) 75 { 76 contents = new JRDesignCellContents(); 77 } 78 79 this.contents = contents; 80 } 81 82 83 84 90 public void setRowTotalGroup(String rowTotalGroup) 91 { 92 this.rowTotalGroup = rowTotalGroup; 93 } 94 95 96 104 public void setWidth(Integer width) 105 { 106 this.width = width; 107 } 108 109 110 118 public void setHeight(Integer height) 119 { 120 this.height = height; 121 } 122 } 123 | Popular Tags |