Package ca.phon.worker
Interface PhonTaskListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
QueryTimer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
propertyChanged
(PhonTask task, String property, Object oldValue, Object newValue) Sent when a property of the task changes.void
statusChanged
(PhonTask task, PhonTask.TaskStatus oldStatus, PhonTask.TaskStatus newStatus) Sent when the running status of the task has changed.
-
Method Details
-
statusChanged
Sent when the running status of the task has changed.- Parameters:
task
-oldStatus
-newStatus
-
-
propertyChanged
Sent when a property of the task changes. Subclasses of PhonTask can define additional properties.- Parameters:
task
-oldValue
-newValue
-propName
-
-