Package net.sf.jasperreports.engine.fill
Class CompositeFillListener
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.CompositeFillListener
-
- All Implemented Interfaces:
FillListener
public class CompositeFillListener extends Object implements FillListener
FillListener
implementation that contains several other listeners.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description CompositeFillListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FillListener
addListener(FillListener existingListener, FillListener listener)
void
pageGenerated(JasperPrint jasperPrint, int pageIndex)
Called when a report page has been generated.void
pageUpdated(JasperPrint jasperPrint, int pageIndex)
Called when a previously generated page has been updated, usually by evaluating a delayed element.
-
-
-
Method Detail
-
addListener
public static FillListener addListener(FillListener existingListener, FillListener listener)
-
pageGenerated
public void pageGenerated(JasperPrint jasperPrint, int pageIndex)
Description copied from interface:FillListener
Called when a report page has been generated. The page might not be final due to delayed evaluation elements.- Specified by:
pageGenerated
in interfaceFillListener
- Parameters:
jasperPrint
- the report that is currently generatingpageIndex
- the index of the page that has been generated
-
pageUpdated
public void pageUpdated(JasperPrint jasperPrint, int pageIndex)
Description copied from interface:FillListener
Called when a previously generated page has been updated, usually by evaluating a delayed element.- Specified by:
pageUpdated
in interfaceFillListener
- Parameters:
jasperPrint
- the report that is currently generatingpageIndex
- the index of the page that has been updated
-
-