|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSwingWorkerTask
public abstract class SwingWorkerTask
Extend this class to define an asynchronous task that updates a Swing UI.
Constructor Summary | |
---|---|
SwingWorkerTask()
|
Method Summary | |
---|---|
void |
finish()
Override this method for UI operations after work is completed. |
void |
init()
Override this method for UI operations before work commences. |
void |
run()
|
void |
update()
Override this method for UI operations after each unit or work. |
abstract void |
work()
Place your task in this method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingWorkerTask()
Method Detail |
---|
public abstract void work() throws java.lang.InterruptedException
java.lang.InterruptedException
public void init()
public void update()
public void finish()
public final void run()
run
in interface java.lang.Runnable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |