Interface TaskListener<T,V>

Type Parameters:
T - the result type returned by this SwingWorker's doInBackground and get methods
V - the type used for carrying out intermediate results by this SwingWorker's publish and process methods
All Known Implementing Classes:
TaskListener.Adapter

public interface TaskListener<T,V>
Listener used for observing Task execution. A TaskListener is particularly useful for monitoring the the intermediate results published by a Task in situations where it's not practical to override the Task's process method. Note that if what you really want to do is monitor a Task's state and progress, a PropertyChangeListener is probably more appropriate.

The Task class runs all TaskListener methods on the event dispatching thread and the source of all TaskEvents is the Task object.

Author:
Hans Muller (Hans.Muller@Sun.COM)
See Also: