Class JRDesignCrosstabBucket
java.lang.Object
net.sf.jasperreports.crosstabs.base.JRBaseCrosstabBucket
net.sf.jasperreports.crosstabs.design.JRDesignCrosstabBucket
- All Implemented Interfaces:
Serializable,Cloneable,JRCrosstabBucket,JRChangeEventsSupport,JRCloneable
Implementation of
crosstab group bucket
to be used for report designing.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabBucket
bucketOrder, comparatorExpression, EXCEPTION_MESSAGE_KEY_BUCKET_LOAD_ERROR, expression, orderByExpression, valueClass, valueClassName, valueClassRealName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the property change support object for this instance.voidsetComparatorExpression(JRExpression comparatorExpression) Sets the comparator expression.voidsetExpression(JRDesignExpression expression) Sets the grouping expression.voidsetOrder(BucketOrder bucketOrder) Sets the sorting type.voidsetOrderByExpression(JRExpression orderByExpression) Sets the expression that provides order by values for group buckets.voidsetValueClassName(String valueClassName) Sets the bucket value class name.Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabBucket
getComparatorExpression, getExpression, getOrder, getOrderByExpression, getValueClass, getValueClassName
-
Field Details
-
PROPERTY_ORDER_BY_EXPRESSION
- See Also:
-
PROPERTY_COMPARATOR_EXPRESSION
- See Also:
-
PROPERTY_EXPRESSION
- See Also:
-
PROPERTY_ORDER
- See Also:
-
PROPERTY_VALUE_CLASS
- See Also:
-
-
Constructor Details
-
JRDesignCrosstabBucket
public JRDesignCrosstabBucket()Creates a crosstab group bucket.
-
-
Method Details
-
setOrderByExpression
Sets the expression that provides order by values for group buckets.- Parameters:
orderByExpression- the expression that provides order by values for group buckets- See Also:
-
setComparatorExpression
Sets the comparator expression.The expressions's type should be compatible with
java.util.Comparator.- Parameters:
comparatorExpression- the comparator expression- See Also:
-
setExpression
Sets the grouping expression.- Parameters:
expression- the grouping expression- See Also:
-
setOrder
Sets the sorting type.- Parameters:
bucketOrder- one of- See Also:
-
setValueClassName
Sets the bucket value class name.- Parameters:
valueClassName- the bucket value class name- See Also:
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseCrosstabBucket
-
getEventSupport
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-