net.sf.jasperreports.engine.fill
Interface AsynchronousFilllListener

All Known Implementing Classes:
AsyncJasperPrintAccessor

public interface AsynchronousFilllListener

Listener interface for the asynchronous filling method.

The listener is notified when the filling process finishes in success, failure or by cancellation.

Version:
$Id: AsynchronousFilllListener.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
 void reportCancelled()
          Called when the report is cancelled.
 void reportFillError(java.lang.Throwable t)
          Called when the filling process exits in error.
 void reportFinished(JasperPrint jasperPrint)
          Called when the report filling is done.
 

Method Detail

reportFinished

void reportFinished(JasperPrint jasperPrint)
Called when the report filling is done.

Parameters:
jasperPrint - the filled report

reportCancelled

void reportCancelled()
Called when the report is cancelled.


reportFillError

void reportFillError(java.lang.Throwable t)
Called when the filling process exits in error.

Parameters:
t - the exception


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com