net.sf.jasperreports.crosstabs.design
public class JRDesignCrosstabBucket extends JRBaseCrosstabBucket implements JRChangeEventsSupport
corsstab group bucket
to be used for report designing.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_COMPARATOR_EXPRESSION |
static java.lang.String |
PROPERTY_EXPRESSION |
static java.lang.String |
PROPERTY_ORDER |
static java.lang.String |
PROPERTY_ORDER_BY_EXPRESSION |
comparatorExpression, expression, orderByExpression, orderValue
Constructor and Description |
---|
JRDesignCrosstabBucket()
Creates a crosstab group bucket.
|
Modifier and Type | Method and Description |
---|---|
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(byte order)
Deprecated.
Replaced by
setOrder(SortOrderEnum) . |
void |
setOrder(SortOrderEnum orderValue)
Sets the sorting type.
|
void |
setOrderByExpression(JRExpression orderByExpression)
Sets the expression that provides order by values for group buckets.
|
clone, getComparatorExpression, getExpression, getOrder, getOrderByExpression, getOrderValue
public static final java.lang.String PROPERTY_ORDER_BY_EXPRESSION
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 JRDesignCrosstabBucket()
public void setOrderByExpression(JRExpression orderByExpression)
orderByExpression
- the expression that provides order by values
for group bucketsJRBaseCrosstabBucket.getOrderByExpression()
public void setComparatorExpression(JRExpression comparatorExpression)
The expressions's type should be compatible with java.util.Comparator
.
comparatorExpression
- the comparator expressionJRCrosstabBucket.getComparatorExpression()
public void setExpression(JRDesignExpression expression)
expression
- the grouping expressionJRCrosstabBucket.getExpression()
public void setOrder(byte order)
setOrder(SortOrderEnum)
.public void setOrder(SortOrderEnum orderValue)
orderValue
- one of
JRCrosstabBucket.getOrderValue()
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com