Class DesignDataLevelBucket
java.lang.Object
net.sf.jasperreports.engine.analytics.dataset.BaseDataLevelBucket
net.sf.jasperreports.engine.analytics.dataset.DesignDataLevelBucket
- All Implemented Interfaces:
Serializable,Cloneable,DataLevelBucket,JRChangeEventsSupport,JRCloneable
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class net.sf.jasperreports.engine.analytics.dataset.BaseDataLevelBucket
bucketProperties, comparatorExpression, EXCEPTION_MESSAGE_KEY_BUCKET_LOAD_ERROR, expression, labelExpression, order, valueClass, valueClassName, valueClassRealName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBucketProperty(DataLevelBucketProperty property) clone()Returns the property change support object for this instance.voidremoveBucketProperty(DataLevelBucketProperty property) voidsetComparatorExpression(JRExpression comparatorExpression) Sets the comparator expression.voidsetExpression(JRExpression expression) Sets the grouping expression.voidsetLabelExpression(JRExpression expression) Sets the label expression.voidsetOrder(BucketOrder order) Sets the sorting type.voidsetValueClassName(String valueClassName) Sets the bucket value class name.Methods inherited from class net.sf.jasperreports.engine.analytics.dataset.BaseDataLevelBucket
getBucketProperties, getComparatorExpression, getExpression, getLabelExpression, getOrder, getValueClass, getValueClassName
-
Field Details
-
PROPERTY_COMPARATOR_EXPRESSION
- See Also:
-
PROPERTY_EXPRESSION
- See Also:
-
PROPERTY_LABEL_EXPRESSION
- See Also:
-
PROPERTY_ORDER
- See Also:
-
PROPERTY_VALUE_CLASS
- See Also:
-
PROPERTY_BUCKET_PROPERTIES
- See Also:
-
-
Constructor Details
-
DesignDataLevelBucket
public DesignDataLevelBucket()Creates a bucket.
-
-
Method Details
-
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:
-
setLabelExpression
Sets the label expression.- Parameters:
expression- the label expression- See Also:
-
setOrder
Sets the sorting type.- Parameters:
order- one of- See Also:
-
setValueClassName
Sets the bucket value class name.- Parameters:
valueClassName- the bucket value class name- See Also:
-
addBucketProperty
-
removeBucketProperty
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classBaseDataLevelBucket
-
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
-