org.jfree.report.modules.gui.base
Interface ExportTaskListener

All Known Implementing Classes:
AbstractExportPlugin.DefaultExportTaskListener

public interface ExportTaskListener
extends java.util.EventListener

An export task listener will be informed about the state of an exporttask.

Author:
Thomas Morgner

Method Summary
 void taskAborted(ExportTask task)
          Informs the listener, that the export was aborted by the user.
 void taskDone(ExportTask task)
          Informs the listener, that the export was completed without errors.
 void taskFailed(ExportTask task)
          Informs the listener, that the export failed due to errors.
 void taskWaiting(ExportTask task)
          Informs the listener, that the export will be processed later as there is no worker available.
 

Method Detail

taskDone

public void taskDone(ExportTask task)
Informs the listener, that the export was completed without errors.
Parameters:
task - the export task which was completed.

taskAborted

public void taskAborted(ExportTask task)
Informs the listener, that the export was aborted by the user.
Parameters:
task - the export task which was aborted.

taskFailed

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

taskWaiting

public void taskWaiting(ExportTask task)
Informs the listener, that the export will be processed later as there is no worker available. The listener has now the option to abort the task. (TODO: This is not yet implemented).
Parameters:
task - the export task which was completed.