org.jfree.report.modules.gui.base
Class AbstractExportPlugin.DefaultExportTaskListener

java.lang.Object
  |
  +--org.jfree.report.modules.gui.base.AbstractExportPlugin.DefaultExportTaskListener
Enclosing class:
AbstractExportPlugin

protected class AbstractExportPlugin.DefaultExportTaskListener
extends java.lang.Object
implements ExportTaskListener

The DefaultExportTaskListener is used to monitor the progress of the export and to set the export result.

Author:
Thomas Morgner

Constructor Summary
AbstractExportPlugin.DefaultExportTaskListener()
          Creates a new export task listener, which will wait for the end of the report processing..
 
Method Summary
 void taskAborted(ExportTask task)
          Informs the listener, that the export was completed without errors.
 void taskDone(ExportTask task)
          Informs the listener, that the export was aborted by the user.
 void taskFailed(ExportTask task)
          Informs the listener, that the export failed due to errors.
 void taskWaiting(ExportTask task)
          This method is empty as it does not indicate an finish event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExportPlugin.DefaultExportTaskListener

public AbstractExportPlugin.DefaultExportTaskListener()
Creates a new export task listener, which will wait for the end of the report processing..
Method Detail

taskAborted

public void taskAborted(ExportTask task)
Informs the listener, that the export was completed without errors. The pagination listener is removed from the
Specified by:
taskAborted in interface ExportTaskListener
Parameters:
task - the export task which was completed.

taskDone

public void taskDone(ExportTask task)
Informs the listener, that the export was aborted by the user.
Specified by:
taskDone in interface ExportTaskListener
Parameters:
task - the export task which was aborted.

taskFailed

public void taskFailed(ExportTask task)
Informs the listener, that the export failed due to errors.
Specified by:
taskFailed in interface ExportTaskListener
Parameters:
task - the export task which failed.

taskWaiting

public void taskWaiting(ExportTask task)
This method is empty as it does not indicate an finish event.
Specified by:
taskWaiting in interface ExportTaskListener
Parameters:
task - the export task.
See Also:
(org.jfree.report.modules.gui.base.ExportTask)