com.lowagie.rups.model
public abstract class BackgroundTask extends Object
| Nested Class Summary | |
|---|---|
| static class | BackgroundTask.ThreadWrapper
Inner class that holds the reference to the thread. |
| Field Summary | |
|---|---|
| BackgroundTask.ThreadWrapper | thread A wrapper for the tread that executes a time-consuming task. |
| Constructor Summary | |
|---|---|
| BackgroundTask()
Starts a thread.
| |
| Method Summary | |
|---|---|
| abstract void | doTask()
Implement this class; the time-consuming task will go here. |
| void | finished()
Called on the event dispatching thread once the
construct method has finished its task. |
| void | interrupt()
Forces the thread to stop what it's doing. |
| void | start()
Starts the thread. |