net.sf.jasperreports.crosstabs.base
Class JRBaseCrosstabRowGroup

java.lang.Object
  extended by net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
      extended by net.sf.jasperreports.crosstabs.base.JRBaseCrosstabRowGroup
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, JRCrosstabGroup, JRCrosstabRowGroup, JRCloneable

public class JRBaseCrosstabRowGroup
extends JRBaseCrosstabGroup
implements JRCrosstabRowGroup

Base read-only implementation of crosstab row groups.

Version:
$Id: JRBaseCrosstabRowGroup.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
protected  CrosstabRowPositionEnum positionValue
           
protected  int width
           
 
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
bucket, header, name, totalHeader, totalPositionValue, variable
 
Constructor Summary
JRBaseCrosstabRowGroup(JRCrosstabRowGroup group, JRBaseObjectFactory factory)
           
 
Method Summary
 CrosstabRowPositionEnum getPositionValue()
          Returns the position of the header contents for header stretching.
 int getWidth()
          Returns the width of the group headers.
 
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
clone, getBucket, getHeader, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotal
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jasperreports.crosstabs.JRCrosstabGroup
getBucket, getHeader, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotal
 
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
 

Field Detail

width

protected int width

positionValue

protected CrosstabRowPositionEnum positionValue
Constructor Detail

JRBaseCrosstabRowGroup

public JRBaseCrosstabRowGroup(JRCrosstabRowGroup group,
                              JRBaseObjectFactory factory)
Method Detail

getPositionValue

public CrosstabRowPositionEnum getPositionValue()
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:
getPositionValue in interface JRCrosstabRowGroup
Returns:
the position of the header contents for header stretching

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()


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com