1 28 package net.sf.jasperreports.crosstabs.base; 29 30 import net.sf.jasperreports.crosstabs.JRCellContents; 31 import net.sf.jasperreports.crosstabs.JRCrosstabRowGroup; 32 import net.sf.jasperreports.engine.JRConstants; 33 import net.sf.jasperreports.engine.base.JRBaseObjectFactory; 34 35 41 public class JRBaseCrosstabRowGroup extends JRBaseCrosstabGroup implements JRCrosstabRowGroup 42 { 43 private static final long serialVersionUID = JRConstants.SERIAL_VERSION_UID; 44 45 protected int width; 46 protected byte position = JRCellContents.POSITION_Y_TOP; 47 48 public JRBaseCrosstabRowGroup(JRCrosstabRowGroup group, JRBaseObjectFactory factory) 49 { 50 super(group, factory); 51 52 width = group.getWidth(); 53 position = group.getPosition(); 54 } 55 56 public byte getPosition() 57 { 58 return position; 59 } 60 61 public int getWidth() 62 { 63 return width; 64 } 65 } 66 | Popular Tags |