public abstract class BackgroundTask extends Object
Constructor and Description |
---|
BackgroundTask()
Starts a thread.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public BackgroundTask()
public abstract void doTask()
public void start()
public void interrupt()
public void finished()
Copyright © 2015. All rights reserved.