public class DesignDataLevelBucket extends BaseDataLevelBucket implements JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_BUCKET_PROPERTIES |
static java.lang.String |
PROPERTY_COMPARATOR_EXPRESSION |
static java.lang.String |
PROPERTY_EXPRESSION |
static java.lang.String |
PROPERTY_ORDER |
static java.lang.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) |
java.lang.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(java.lang.String valueClassName)
Sets the bucket value class name.
|
getBucketProperties, getComparatorExpression, getExpression, getOrder, getOrderValue, getValueClass, getValueClassName
public static final java.lang.String PROPERTY_COMPARATOR_EXPRESSION
public static final java.lang.String PROPERTY_EXPRESSION
public static final java.lang.String PROPERTY_ORDER
public static final java.lang.String PROPERTY_VALUE_CLASS
public static final java.lang.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(java.lang.String valueClassName)
valueClassName
- the bucket value class nameDataLevelBucket.getValueClassName()
public void addBucketProperty(DataLevelBucketProperty property)
public void removeBucketProperty(DataLevelBucketProperty property)
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class BaseDataLevelBucket
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com