Package org.jmol.script
Class ScriptQueueThread
java.lang.Object
java.lang.Thread
org.jmol.thread.JmolThread
org.jmol.script.ScriptQueueThread
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
FieldsFields 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, vwr
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
ConstructorsConstructorDescriptionScriptQueueThread
(ScriptManager scriptManager, Viewer vwr, boolean startedByCommandThread, int pt) -
Method Summary
Methods inherited from class org.jmol.thread.JmolThread
checkInterrupted, interrupt, oops, reset, resumeEval, run, runSleep, setEval, setManager, setViewer, start, toString
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, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, startVirtualThread, stop, suspend, threadId, yield
-
Field Details
-
scriptManager
-
startedByCommandThread
private boolean startedByCommandThread -
pt
private int pt
-
-
Constructor Details
-
ScriptQueueThread
public ScriptQueueThread(ScriptManager scriptManager, Viewer vwr, boolean startedByCommandThread, int pt) - Parameters:
scriptManager
-vwr
-startedByCommandThread
-pt
-
-
-
Method Details
-
run1
- Specified by:
run1
in classJmolThread
- Throws:
InterruptedException
-
runNextScript
private boolean runNextScript()
-