public class TimeoutThread extends JmolThread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
String |
script |
private int |
status |
private boolean |
triggered |
CHECK1, CHECK2, CHECK3, currentTime, eval, FINISH, haveReference, hoverEnabled, INIT, isJS, isReset, junk, lastRepaintTime, MAIN, name, sc, sleepTime, startTime, stopped, targetTime, vwrMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
TimeoutThread(Viewer vwr,
String name,
int ms,
String script) |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear(Map<String,Object> timeouts) |
protected void |
run1(int mode) |
private void |
set(int ms,
String script) |
static void |
setTimeout(Viewer vwr,
Map<String,Object> timeouts,
String name,
int mSec,
String script) |
static String |
showTimeout(Map<String,Object> timeouts,
String name) |
String |
toString() |
static void |
trigger(Map<String,Object> timeouts,
String name) |
checkInterrupted, interrupt, oops, reset, resumeEval, run, runSleep, setEval, setManager, setViewer, startactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, yieldpublic String script
private int status
private boolean triggered
private void set(int ms,
String script)
protected void run1(int mode)
throws InterruptedException
run1 in class JmolThreadInterruptedExceptionpublic static void setTimeout(Viewer vwr, Map<String,Object> timeouts, String name, int mSec, String script)