| |
|
| java.lang.Object com.db.utils.task.LongTask
LongTask | public class LongTask (Code) | | Uses a SwingWorker to perform a time-consuming (and utterly fake) task.
|
Inner Class :class ActualTask | |
Method Summary | |
boolean | done() Called from ProgressBarDemo to find out if the task has completed. | int | getCurrent() Called from ProgressBarDemo to find out how much has been done. | int | getLengthOfTask() Called from ProgressBarDemo to find out how much work needs
to be done. | String | getMessage() | void | go() Called from ProgressBarDemo to start the task. | void | stop() |
done | boolean done()(Code) | | Called from ProgressBarDemo to find out if the task has completed.
|
getCurrent | int getCurrent()(Code) | | Called from ProgressBarDemo to find out how much has been done.
|
getLengthOfTask | int getLengthOfTask()(Code) | | Called from ProgressBarDemo to find out how much work needs
to be done.
|
go | void go()(Code) | | Called from ProgressBarDemo to start the task.
|
|
|
|