net.sf.jasperreports.engine.fill
Interface AsynchronousFilllListener


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 3034 2009-08-27 11:58:04Z 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-2009 Jaspersoft Corporation www.jaspersoft.com