|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface should be implemented by code that wishes to be notified of task events. Currently, there are only two notifications: task started, task complete and task aborted. The notification listeners should be notified in a different thread than the one the task is executing in so that Swing threading problems do not occur.
Method Summary | |
void |
taskAborted(TaskEvent event)
This method is called when the task has been aborted. |
void |
taskCompleted(TaskEvent event)
This method is called when the task has completed normally (even if it has encountered an error). |
void |
taskStarted(TaskEvent event)
This method is called when the task has been started. |
Method Detail |
public void taskStarted(TaskEvent event)
event
- the TaskEventpublic void taskAborted(TaskEvent event)
event
- the TaskEventpublic void taskCompleted(TaskEvent event)
event
- the TaskEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |