net.sf.jasperreports.crosstabs.base
Class JRBaseCrosstabColumnGroup

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

public class JRBaseCrosstabColumnGroup
extends JRBaseCrosstabGroup
implements JRCrosstabColumnGroup

Base read-only implementation of crosstab column groups.

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

Field Summary
protected  int height
           
protected  CrosstabColumnPositionEnum positionValue
           
 
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabGroup
bucket, header, name, totalHeader, totalPositionValue, variable
 
Constructor Summary
JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group, JRBaseObjectFactory factory)
           
 
Method Summary
 int getHeight()
          Returns the height of the group headers.
 CrosstabColumnPositionEnum getPositionValue()
          Returns the position of the header contents for header stretching.
 
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

height

protected int height

positionValue

protected CrosstabColumnPositionEnum positionValue
Constructor Detail

JRBaseCrosstabColumnGroup

public JRBaseCrosstabColumnGroup(JRCrosstabColumnGroup group,
                                 JRBaseObjectFactory factory)
Method Detail

getPositionValue

public CrosstabColumnPositionEnum getPositionValue()
Description copied from interface: JRCrosstabColumnGroup
Returns the position of the header contents for header stretching.

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

Specified by:
getPositionValue in interface JRCrosstabColumnGroup
Returns:
the position of the header contents for header stretching

getHeight

public int getHeight()
Description copied from interface: JRCrosstabColumnGroup
Returns the height of the group headers.

Specified by:
getHeight in interface JRCrosstabColumnGroup
Returns:
the height of the group headers
See Also:
JRCrosstabGroup.getHeader(), JRCrosstabGroup.getTotalHeader()


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com