GroupCountFunction

Description

A report function that counts groups in a report. If a null-group name is given, all groups are counted.

The group to be counted is defined using the property "group". An optional container group can be defined using the property "parent-group". When the group start event of that group is encountered, the counter will be reset to '0'. If the group property is not set, all group starts get counted.

Example

<function class="org.jfree.report.function.GroupCountFunction" deplevel="" name="Orders Count">
  <properties>
    <property name="group">ORDER NUMBER GROUP</property>
    <property name="parentGroup">CUSTOMER GROUP</property>
  </properties>
</function>