package net.sf.jasperreports.crosstabs;

import java.awt.Color;
import net.sf.jasperreports.engine.JRBox;
import net.sf.jasperreports.engine.JRBoxContainer;
import net.sf.jasperreports.engine.JRElementGroup;
import net.sf.jasperreports.engine.JRStyleContainer;

public interface JRCellContents extends JRElementGroup, JRStyleContainer, JRBoxContainer {
  public static final byte POSITION_X_LEFT = 1;
  
  public static final byte POSITION_X_CENTER = 2;
  
  public static final byte POSITION_X_RIGHT = 3;
  
  public static final byte POSITION_X_STRETCH = 4;
  
  public static final byte POSITION_Y_TOP = 1;
  
  public static final byte POSITION_Y_MIDDLE = 2;
  
  public static final byte POSITION_Y_BOTTOM = 3;
  
  public static final byte POSITION_Y_STRETCH = 4;
  
  public static final int NOT_CALCULATED = -2147483648;
  
  Color getBackcolor();
  
  JRBox getBox();
  
  int getWidth();
  
  int getHeight();
  
  Byte getMode();
}
