|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.microemu.app.util.MIDletThread
public class MIDletThread
MIDletContext is used to hold keys to running Threads created by MIDlet
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
static int |
graceTerminationPeriod
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
MIDletThread()
|
|
MIDletThread(java.lang.Runnable target)
|
|
MIDletThread(java.lang.Runnable target,
java.lang.String name)
|
|
MIDletThread(java.lang.String name)
|
|
| Method Summary | |
|---|---|
static void |
contextDestroyed(MIDletContext midletContext)
Terminate all Threads created by MIDlet |
static boolean |
hasRunningThreads(MIDletContext midletContext)
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int graceTerminationPeriod
| Constructor Detail |
|---|
public MIDletThread()
public MIDletThread(java.lang.Runnable target)
public MIDletThread(java.lang.Runnable target,
java.lang.String name)
public MIDletThread(java.lang.String name)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic static void contextDestroyed(MIDletContext midletContext)
previousMidletAccess - public static boolean hasRunningThreads(MIDletContext midletContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||