net.sf.jasperreports.crosstabs.design
Class JRDesignCrosstabRowGroup

java.lang.Object
  extended by net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
      extended by net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup
          extended by net.sf.jasperreports.crosstabs.design.JRDesignCrosstabRowGroup
All Implemented Interfaces:
java.io.Serializable, JRCrosstabGroup, JRCrosstabRowGroup

public class JRDesignCrosstabRowGroup
extends JRDesignCrosstabGroup
implements JRCrosstabRowGroup

Crosstab row group implementation to be used for report designing.

Version:
$Id: JRDesignCrosstabRowGroup.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
protected  byte position
           
protected  int width
           
 
Fields inherited from class net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup
designVariable
 
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
bucket, header, name, totalHeader, totalPosition, variable
 
Constructor Summary
JRDesignCrosstabRowGroup()
           
 
Method Summary
 byte getPosition()
          Returns the position of the header contents for header stretching.
 int getWidth()
          Returns the width of the group headers.
 void setPosition(byte position)
          Sets the header contents stretch position.
 void setWidth(int width)
          Sets the header cell width.
 
Methods inherited from class net.sf.jasperreports.crosstabs.design.JRDesignCrosstabGroup
setBucket, setHeader, setName, setTotalHeader, setTotalPosition
 
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
getBucket, getHeader, getName, getTotalHeader, getTotalPosition, getVariable, hasTotal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jasperreports.crosstabs.JRCrosstabGroup
getBucket, getHeader, getName, getTotalHeader, getTotalPosition, getVariable, hasTotal
 

Field Detail

width

protected int width

position

protected byte position
Constructor Detail

JRDesignCrosstabRowGroup

public JRDesignCrosstabRowGroup()
Method Detail

getPosition

public byte getPosition()
Description copied from interface: JRCrosstabRowGroup
Returns the position of the header contents for header stretching.

The row group headers stretch vertically when there are multiple sub group entries. The header contents will be adjusted to the new height depending on this attribute:

Specified by:
getPosition in interface JRCrosstabRowGroup
Returns:
the position of the header contents for header stretching

setPosition

public void setPosition(byte position)
Sets the header contents stretch position.

Parameters:
position - the header contents stretch position
See Also:
JRCrosstabRowGroup.getPosition()

getWidth

public int getWidth()
Description copied from interface: JRCrosstabRowGroup
Returns the width of the group headers.

Specified by:
getWidth in interface JRCrosstabRowGroup
Returns:
the width of the group headers
See Also:
JRCrosstabGroup.getHeader(), JRCrosstabGroup.getTotalHeader()

setWidth

public void setWidth(int width)
Sets the header cell width.

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


© 2001-2006 JasperSoft Corporation www.jaspersoft.com