package net.sf.jasperreports.crosstabs.base;

import net.sf.jasperreports.crosstabs.JRCrosstabColumnGroup;
import net.sf.jasperreports.crosstabs.JRCrosstabGroup;
import net.sf.jasperreports.engine.base.JRBaseObjectFactory;

public class JRBaseCrosstabColumnGroup extends JRBaseCrosstabGroup implements JRCrosstabColumnGroup {
  private static final long serialVersionUID = 10200L;
  
  protected int height;
  
  protected byte position = 1;
  
  public JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group, JRBaseObjectFactory factory) {
    super((JRCrosstabGroup)group, factory);
    this.height = group.getHeight();
    this.position = group.getPosition();
  }
  
  public byte getPosition() {
    return this.position;
  }
  
  public int getHeight() {
    return this.height;
  }
}
