net.sf.jasperreports.crosstabs.design
Class JRDesignCrosstabBucket

java.lang.Object
  extended by net.sf.jasperreports.crosstabs.base.JRBaseCrosstabBucket
      extended by net.sf.jasperreports.crosstabs.design.JRDesignCrosstabBucket
All Implemented Interfaces:
java.io.Serializable, JRCrosstabBucket

public class JRDesignCrosstabBucket
extends JRBaseCrosstabBucket

Implementation of corsstab group bucket to be used for report designing.

Version:
$Id: JRDesignCrosstabBucket.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
static java.lang.String PROPERTY_EXPRESSION
           
 
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabBucket
comparatorExpression, expression, order
 
Constructor Summary
JRDesignCrosstabBucket()
          Creates a crosstab group bucket.
 
Method Summary
 void setComparatorExpression(JRExpression comparatorExpression)
          Sets the comparator expression.
 void setExpression(JRDesignExpression expression)
          Sets the grouping expression.
 void setOrder(byte order)
          Sets the sorting type.
 
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabBucket
getComparatorExpression, getExpression, getOrder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_EXPRESSION

public static final java.lang.String PROPERTY_EXPRESSION
See Also:
Constant Field Values
Constructor Detail

JRDesignCrosstabBucket

public JRDesignCrosstabBucket()
Creates a crosstab group bucket.

Method Detail

setComparatorExpression

public void setComparatorExpression(JRExpression comparatorExpression)
Sets the comparator expression.

The expressions's type should be compatible with java.util.Comparator.

Parameters:
comparatorExpression - the comparator expression
See Also:
JRCrosstabBucket.getComparatorExpression()

setExpression

public void setExpression(JRDesignExpression expression)
Sets the grouping expression.

Parameters:
expression - the grouping expression
See Also:
JRCrosstabBucket.getExpression()

setOrder

public void setOrder(byte order)
Sets the sorting type.

Parameters:
order - one of
See Also:
JRCrosstabBucket.getOrder()


© 2001-2006 JasperSoft Corporation www.jaspersoft.com