1 28 package net.sf.jasperreports.engine.design; 29 30 import net.sf.jasperreports.engine.JRBand; 31 import net.sf.jasperreports.engine.JRConstants; 32 import net.sf.jasperreports.engine.JRExpression; 33 34 35 39 public class JRDesignBand extends JRDesignElementGroup implements JRBand 40 { 41 42 43 46 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 47 48 51 protected int height = 0; 52 protected boolean isSplitAllowed = true; 53 54 57 protected JRExpression printWhenExpression = null; 58 59 60 63 public int getHeight() 64 { 65 return this.height; 66 } 67 68 71 public void setHeight(int height) 72 { 73 this.height = height; 74 } 75 76 79 public boolean isSplitAllowed() 80 { 81 return this.isSplitAllowed; 82 } 83 84 87 public void setSplitAllowed(boolean isSplitAllowed) 88 { 89 this.isSplitAllowed = isSplitAllowed; 90 } 91 92 95 public JRExpression getPrintWhenExpression() 96 { 97 return this.printWhenExpression; 98 } 99 100 103 public void setPrintWhenExpression(JRExpression expression) 104 { 105 this.printWhenExpression = expression; 106 } 107 108 109 } 110 | Popular Tags |