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_ORDER |
static String |
PROPERTY_VALUE_CLASS |
bucketProperties, comparatorExpression, EXCEPTION_MESSAGE_KEY_BUCKET_LOAD_ERROR, expression, 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 |
setOrder(BucketOrder order)
Sets the sorting type.
|
void |
setOrder(SortOrderEnum orderValue)
Deprecated.
replaced by
setOrder(BucketOrder) |
void |
setValueClassName(String valueClassName)
Sets the bucket value class name.
|
getBucketProperties, getComparatorExpression, getExpression, getOrder, getOrderValue, getValueClass, getValueClassNamepublic static final String PROPERTY_COMPARATOR_EXPRESSION
public static final String PROPERTY_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()@Deprecated public void setOrder(SortOrderEnum orderValue)
setOrder(BucketOrder)orderValue - one of
DataLevelBucket.getOrderValue()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 JRCloneableclone in class BaseDataLevelBucketpublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportCopyright © 2017. All rights reserved.