class ScriptDelayThread extends JmolThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
private boolean |
doPopPush |
private boolean |
isPauseDelay |
private int |
millis |
static int |
PAUSE_DELAY |
private int |
seconds |
CHECK1, CHECK2, CHECK3, currentTime, eval, FINISH, hoverEnabled, INIT, isJS, isReset, lastRepaintTime, MAIN, name, sc, sleepTime, startTime, stopped, targetTime, viewer
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
ScriptDelayThread(JmolScriptEvaluator eval,
Viewer viewer,
int millis) |
Modifier and Type | Method and Description |
---|---|
protected void |
run1(int mode) |
checkInterrupted, interrupt, oops, reset, resumeEval, run, runSleep, setEval, setManager, setViewer, start
activeCount, 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, toString, yield
public static final int PAUSE_DELAY
private int millis
private int seconds
private boolean doPopPush
private boolean isPauseDelay
public ScriptDelayThread(JmolScriptEvaluator eval, Viewer viewer, int millis)
eval
- viewer
- millis
- negative to bypass pop/hold sequenceprotected void run1(int mode) throws InterruptedException
run1
in class JmolThread
InterruptedException