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 String
static final String
static final String
static final String
static final String
Fields 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.void
setComparatorExpression
(JRExpression comparatorExpression) Sets the comparator expression.void
setExpression
(JRDesignExpression expression) Sets the grouping expression.void
setOrder
(BucketOrder bucketOrder) Sets the sorting type.void
setOrderByExpression
(JRExpression orderByExpression) Sets the expression that provides order by values for group buckets.void
setValueClassName
(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:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseCrosstabBucket
-
getEventSupport
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-