public class DesignDataLevelBucket extends BaseDataLevelBucket implements JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_BUCKET_PROPERTIES |
static String |
PROPERTY_COMPARATOR_EXPRESSION |
static String |
PROPERTY_EXPRESSION |
static String |
PROPERTY_LABEL_EXPRESSION |
static String |
PROPERTY_ORDER |
static String |
PROPERTY_VALUE_CLASS |
bucketProperties, comparatorExpression, EXCEPTION_MESSAGE_KEY_BUCKET_LOAD_ERROR, expression, labelExpression, order, orderValue, valueClass, valueClassName, valueClassRealName
Constructor and Description |
---|
DesignDataLevelBucket()
Creates a bucket.
|
Modifier and Type | Method and Description |
---|---|
void |
addBucketProperty(DataLevelBucketProperty property) |
Object |
clone() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
void |
removeBucketProperty(DataLevelBucketProperty property) |
void |
setComparatorExpression(JRExpression comparatorExpression)
Sets the comparator expression.
|
void |
setExpression(JRExpression expression)
Sets the grouping expression.
|
void |
setLabelExpression(JRExpression expression)
Sets the label expression.
|
void |
setOrder(BucketOrder order)
Sets the sorting type.
|
void |
setValueClassName(String valueClassName)
Sets the bucket value class name.
|
getBucketProperties, getComparatorExpression, getExpression, getLabelExpression, getOrder, getValueClass, getValueClassName
public static final String PROPERTY_COMPARATOR_EXPRESSION
public static final String PROPERTY_EXPRESSION
public static final String PROPERTY_LABEL_EXPRESSION
public static final String PROPERTY_ORDER
public static final String PROPERTY_VALUE_CLASS
public static final String PROPERTY_BUCKET_PROPERTIES
public void setComparatorExpression(JRExpression comparatorExpression)
The expressions's type should be compatible with java.util.Comparator
.
comparatorExpression
- the comparator expressionDataLevelBucket.getComparatorExpression()
public void setExpression(JRExpression expression)
expression
- the grouping expressionDataLevelBucket.getExpression()
public void setLabelExpression(JRExpression expression)
expression
- the label expressionDataLevelBucket.getLabelExpression()
public void setOrder(BucketOrder order)
order
- one of
DataLevelBucket.getOrder()
public void setValueClassName(String valueClassName)
valueClassName
- the bucket value class nameDataLevelBucket.getValueClassName()
public void addBucketProperty(DataLevelBucketProperty property)
public void removeBucketProperty(DataLevelBucketProperty property)
public Object clone()
clone
in interface JRCloneable
clone
in class BaseDataLevelBucket
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
Copyright © 2021 TIBCO Software Inc.. All rights reserved.