Package org.gvsig.utils.swing.threads
Interface IMonitorableTask
- All Superinterfaces:
ICancelableTask,ICancelMonitor,ITask
- All Known Subinterfaces:
IPipedTask
- All Known Implementing Classes:
AbstractMonitorableTask,MonitorableDecoratorMainFirst,MonitorableTaskQueue,PipeTask
Long time task that could be monitored. The monitorization
information that this task could offer is:
- Defined (number of steps known) or Undefined task
- Number of steps (for defined tasks)
- Initial and final step
- Description of the task (status)
- Description of subtasks (note)
- Author:
- azabala
-
Method Summary
Methods inherited from interface org.gvsig.utils.swing.threads.ICancelableTask
cancelMethods inherited from interface org.gvsig.utils.swing.threads.ICancelMonitor
isCanceled, isFinished
-
Method Details
-
getInitialStep
int getInitialStep() -
getFinishStep
int getFinishStep() -
getCurrentStep
int getCurrentStep() -
getStatusMessage
String getStatusMessage() -
getNote
String getNote() -
isDefined
boolean isDefined() -
finished
void finished()This method is executed from the Event Dispatch Thread when the background task finishes. Any interaction with SWing objects should be placed here.
-