com.jrefinery.report.event
Interface PageEventListener

All Known Implementing Classes:
LevelledExpressionList, PageFunction

public interface PageEventListener

The PageEventListener gets informed of PageEvents.

This is an extracted interface of the original ReportEventListener. As page events are only fired by some (page sensitive) report processors, there is no need to support page events in the ReportEventListener interface.

Functions that should be informed of page events should implement this interface.

Information: The pageCanceled method is called, if a empty page was created and was removed from the report afterwards.

Author:
Thomas Morgner

Method Summary
 void pageCanceled(ReportEvent event)
          Receives notification that a page was canceled by the ReportProcessor.
 void pageFinished(ReportEvent event)
          Receives notification that a page is completed.
 void pageStarted(ReportEvent event)
          Receives notification that a new page is being started.
 

Method Detail

pageStarted

public void pageStarted(ReportEvent event)
Receives notification that a new page is being started.

Parameters:
event - The event.

pageFinished

public void pageFinished(ReportEvent event)
Receives notification that a page is completed.

Parameters:
event - The event.

pageCanceled

public void pageCanceled(ReportEvent event)
Receives notification that a page was canceled by the ReportProcessor. This method is called, when a page was removed from the report after it was generated.

Parameters:
event - The event.