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
public class JRDesignCrosstabBucket extends JRBaseCrosstabBucket implements JRChangeEventsSupport
Implementation ofcrosstab group bucket
to be used for report designing.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_COMPARATOR_EXPRESSION
static String
PROPERTY_EXPRESSION
static String
PROPERTY_ORDER
static String
PROPERTY_ORDER_BY_EXPRESSION
static String
PROPERTY_VALUE_CLASS
-
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 Constructor Description JRDesignCrosstabBucket()
Creates a crosstab group bucket.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRPropertyChangeSupport
getEventSupport()
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 Detail
-
PROPERTY_ORDER_BY_EXPRESSION
public static final String PROPERTY_ORDER_BY_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_COMPARATOR_EXPRESSION
public static final String PROPERTY_COMPARATOR_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_EXPRESSION
public static final String PROPERTY_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_ORDER
public static final String PROPERTY_ORDER
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_CLASS
public static final String PROPERTY_VALUE_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
setOrderByExpression
public void setOrderByExpression(JRExpression orderByExpression)
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:
JRBaseCrosstabBucket.getOrderByExpression()
-
setComparatorExpression
public void setComparatorExpression(JRExpression comparatorExpression)
Sets the comparator expression.The expressions's type should be compatible with
java.util.Comparator
.- Parameters:
comparatorExpression
- the comparator expression- See Also:
JRCrosstabBucket.getComparatorExpression()
-
setExpression
public void setExpression(JRDesignExpression expression)
Sets the grouping expression.- Parameters:
expression
- the grouping expression- See Also:
JRCrosstabBucket.getExpression()
-
setOrder
public void setOrder(BucketOrder bucketOrder)
Sets the sorting type.- Parameters:
bucketOrder
- one of- See Also:
JRCrosstabBucket.getOrder()
-
setValueClassName
public void setValueClassName(String valueClassName)
Sets the bucket value class name.- Parameters:
valueClassName
- the bucket value class name- See Also:
JRCrosstabBucket.getValueClassName()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseCrosstabBucket
-
getEventSupport
public JRPropertyChangeSupport 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
-
-