Package totalcross
Class TCEventThread
- java.lang.Object
-
- java.lang.Thread
-
- totalcross.TCEventThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class TCEventThread extends java.lang.Thread
-
-
Constructor Summary
Constructors Constructor Description TCEventThread(MainClass win)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinvokeInEventThread(boolean wait, java.lang.Runnable r)voidpushEvent(int type, int key, int x, int y, int modifiers, int timestamp)voidrun()-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
TCEventThread
public TCEventThread(MainClass win)
-
-
Method Detail
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
pushEvent
public void pushEvent(int type, int key, int x, int y, int modifiers, int timestamp)
-
invokeInEventThread
public void invokeInEventThread(boolean wait, java.lang.Runnable r)
-
-