public interface ReportListener extends EventListener
You should be aware that most events occur more than once. For example, the reportStarted event will be triggered every time the report is regenerated.
When handling these events, use the reportState to track the current changes of the report.
Modifier and Type | Method and Description |
---|---|
void |
groupFinished(ReportEvent event)
Receives notification that a group is finished.
|
void |
groupStarted(ReportEvent event)
Receives notification that a new group has started.
|
void |
itemsAdvanced(ReportEvent event)
Receives notification that a new row has been read.
|
void |
itemsFinished(ReportEvent event)
Receives notification that a group of item bands has been completed.
|
void |
itemsStarted(ReportEvent event)
Receives notification that a group of item bands is about to be processed.
|
void |
reportDone(ReportEvent event)
Receives notification that report generation has completed, the report footer was printed, no more output is done.
|
void |
reportFinished(ReportEvent event)
Receives notification that report generation has finished (the last record is read and all groups are closed).
|
void |
reportInitialized(ReportEvent event)
Receives notification that report generation initializes the current run.
|
void |
reportStarted(ReportEvent event)
Receives notification that report generation has started.
|
void |
summaryRowSelection(ReportEvent event)
A crosstab specific event notifying crosstab-aware functions to select the result for the summary row cell that
will be printed next.
|
void reportInitialized(ReportEvent event)
The event carries a ReportState.Started state. Use this to initialize the report.
event
- The event.void reportStarted(ReportEvent event)
The event carries a ReportState.Started state. Use this to prepare the report header.
event
- The event.void reportFinished(ReportEvent event)
event
- The event.void reportDone(ReportEvent event)
event
- The event.void groupStarted(ReportEvent event)
The group can be determined by the report state's getCurrentGroup() function.
event
- The event.void groupFinished(ReportEvent event)
The group can be determined by the report state's getCurrentGroup() function.
event
- The event.void itemsStarted(ReportEvent event)
The next events will be itemsAdvanced events until the itemsFinished event is raised.
event
- The event.void itemsFinished(ReportEvent event)
The itemBand is finished, the report starts to close open groups.
event
- The event.void itemsAdvanced(ReportEvent event)
This event is raised before an ItemBand is printed.
event
- The event.void summaryRowSelection(ReportEvent event)
event
- The report event.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.