|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.levigo.util.swing.SwingWorkerAdapter
public abstract class SwingWorkerAdapter
Abstract class to redirect a task to event dispatch queue.
Constructor Summary | |
---|---|
protected |
SwingWorkerAdapter()
SwingWorkerAdapter |
Method Summary | |
---|---|
protected abstract void |
performWork()
|
void |
run()
Calls performWork on EDT. |
void |
runNow()
Calls performWork on EDT, but stops the actual thread until
task is performed.. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SwingWorkerAdapter()
Method Detail |
---|
protected abstract void performWork()
public void run()
performWork
on EDT.
run
in interface Runnable
public void runNow() throws InterruptedException, InvocationTargetException
performWork
on EDT, but stops the actual thread until
task is performed..
InterruptedException
InvocationTargetException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |