org.jfree.report.structure

Class Group

public class Group extends Section

A report group. A group is a repeated section which is bound to an expression.

Default Behaviour

Whether a new group should be started is evaluated by the group's expression. If that expression returns Boolean.TRUE, a new group instance is started. (That expression answers the Questions: 'Does this group instance end here?').

If the group expression is invalid or there is no group expression at all, a group will consume all rows until the datasource is no longer advanceable.

Author: David Gilbert Thomas Morgner

Constructor Summary
Group()
Constructs a group with no fields, and an empty header and footer.
Method Summary
Objectclone()
GroupgetGroup()
ExpressiongetGroupingExpression()
voidsetGroupingExpression(Expression groupingExpression)
StringtoString()
Returns a string representation of the group (useful for debugging).

Constructor Detail

Group

public Group()
Constructs a group with no fields, and an empty header and footer.

Method Detail

clone

public Object clone()

getGroup

public Group getGroup()

getGroupingExpression

public Expression getGroupingExpression()

setGroupingExpression

public void setGroupingExpression(Expression groupingExpression)

toString

public String toString()
Returns a string representation of the group (useful for debugging).

Returns: A string.