net.sf.jasperreports.crosstabs.design
Class JRDesignCrosstabCell

java.lang.Object
  extended by net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
      extended by net.sf.jasperreports.crosstabs.design.JRDesignCrosstabCell
All Implemented Interfaces:
java.io.Serializable, JRCrosstabCell

public class JRDesignCrosstabCell
extends JRBaseCrosstabCell

Implementation of JRCrosstabCell to be used for report design.

Version:
$Id: JRDesignCrosstabCell.java 1229 2006-04-19 13:27:35 +0300 (Wed, 19 Apr 2006) teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
columnTotalGroup, contents, height, rowTotalGroup, width
 
Constructor Summary
JRDesignCrosstabCell()
          Creates a crosstab data cell.
 
Method Summary
 void setColumnTotalGroup(java.lang.String columnTotalGroup)
          Indicates that the cell corresponds to a total column.
 void setContents(JRDesignCellContents contents)
          Sets the cell contents.
 void setHeight(java.lang.Integer height)
          Sets the cell height.
 void setRowTotalGroup(java.lang.String rowTotalGroup)
          Indicates that the cell corresponds to a total row.
 void setWidth(java.lang.Integer width)
          Sets the cell width.
 
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
getColumnTotalGroup, getContents, getHeight, getRowTotalGroup, getWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRDesignCrosstabCell

public JRDesignCrosstabCell()
Creates a crosstab data cell.

Method Detail

setColumnTotalGroup

public void setColumnTotalGroup(java.lang.String columnTotalGroup)
Indicates that the cell corresponds to a total column.

Parameters:
columnTotalGroup - the corresponding column group
See Also:
JRCrosstabCell.getColumnTotalGroup()

setContents

public void setContents(JRDesignCellContents contents)
Sets the cell contents.

Parameters:
contents - the contents
See Also:
JRCrosstabCell.getContents()

setRowTotalGroup

public void setRowTotalGroup(java.lang.String rowTotalGroup)
Indicates that the cell corresponds to a total row.

Parameters:
rowTotalGroup - the corresponding row group
See Also:
JRCrosstabCell.getRowTotalGroup()

setWidth

public void setWidth(java.lang.Integer width)
Sets the cell width.

This is compulsory for base cells only.

Parameters:
width - the width
See Also:
JRCrosstabCell.getWidth()

setHeight

public void setHeight(java.lang.Integer height)
Sets the cell height.

This is compulsory for base cells only.

Parameters:
height - the height
See Also:
JRCrosstabCell.getHeight()


© 2001-2006 JasperSoft Corporation www.jaspersoft.com