1 28 package net.sf.jasperreports.engine.base; 29 30 import java.io.Serializable ; 31 import java.util.ArrayList ; 32 import java.util.List ; 33 34 import net.sf.jasperreports.engine.JRConstants; 35 import net.sf.jasperreports.engine.JRPrintElement; 36 import net.sf.jasperreports.engine.JRPrintPage; 37 38 39 43 public class JRBasePrintPage implements JRPrintPage, Serializable 44 { 45 46 47 50 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 51 52 55 protected List elements = new ArrayList (); 56 57 58 public JRBasePrintPage() 59 { 60 61 } 62 63 66 public List getElements() 67 { 68 return this.elements; 69 } 70 71 74 public void setElements(List elements) 75 { 76 this.elements = elements; 77 } 78 79 82 public void addElement(JRPrintElement element) 83 { 84 this.elements.add(element); 85 } 86 } 87 | Popular Tags |