Package org.jmol.script
Class ScriptDelayThread
java.lang.Object
java.lang.Thread
org.jmol.thread.JmolThread
org.jmol.script.ScriptDelayThread
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate booleanprivate intstatic final intprivate intFields inherited from class org.jmol.thread.JmolThread
CHECK1, CHECK2, CHECK3, currentTime, eval, FINISH, haveReference, hoverEnabled, INIT, isJS, isReset, lastRepaintTime, MAIN, name, sc, sleepTime, startTime, stopped, targetTime, useTimeout, vwrFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jmol.thread.JmolThread
checkInterrupted, interrupt, oops, reset, resumeEval, run, runSleep, setEval, setManager, setViewer, start, toStringMethods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, suspend, yield
-
Field Details
-
PAUSE_DELAY
public static final int PAUSE_DELAY- See Also:
-
millis
private int millis -
seconds
private int seconds -
doPopPush
private boolean doPopPush -
isPauseDelay
private boolean isPauseDelay
-
-
Constructor Details
-
ScriptDelayThread
- Parameters:
eval-vwr-millis- negative to bypass pop/hold sequence
-
-
Method Details
-
run1
- Specified by:
run1in classJmolThread- Throws:
InterruptedException
-