com.jogamp.newt.util
Class EDTUtil
java.lang.Object
com.jogamp.newt.util.EDTUtil
public class EDTUtil
- extends Object
Field Summary |
static boolean |
DEBUG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final boolean DEBUG
EDTUtil
public EDTUtil(ThreadGroup tg,
String name,
Runnable pumpMessages)
getName
public String getName()
getThreadGroup
public ThreadGroup getThreadGroup()
start
public Thread start()
- Returns:
- The started Runnable, which handles the run-loop.
stop
public void stop()
getEDT
public Thread getEDT()
isThreadEDT
public boolean isThreadEDT(Thread thread)
isCurrentThreadEDT
public boolean isCurrentThreadEDT()
isRunning
public boolean isRunning()
invokeLater
public void invokeLater(Runnable task)
invokeAndWait
public void invokeAndWait(Runnable task)
invoke
public void invoke(boolean wait,
Runnable task)
waitOnWorker
public void waitOnWorker()
waitUntilStopped
public void waitUntilStopped()
Copyright 2010 JogAmp Community.