Java event handlers for report items
You can write an event handler for any or all of the events that BIRT fires for a report item. Table 38‑1 describes the events BIRT fires for each report item.
Table 38‑1 Report item event handler methods
Method
Description
onPrepare( )
The onPrepare( ) method for every report element uses the following two arguments:
*Element design interface
*Report context interface
onCreate( )
The arguments to the onCreate( ) method depend on the particular element. Every onCreate( ) method uses at least the following two arguments:
*Element instance interface
*Report context interface
onPageBreak( )
The onPageBreak( ) method for every report element uses the following two arguments:
*Element instance interface
*Report context interface
onRender( )
The onRender( ) method for every report element uses the following two arguments:
*Element instance interface
*Report context interface