Package org.jmol.script
Class CommandWatcherThread
- java.lang.Object
-
- java.lang.Thread
-
- org.jmol.thread.JmolThread
-
- org.jmol.script.CommandWatcherThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class CommandWatcherThread extends JmolThread
-
-
Field Summary
Fields Modifier and Type Field Description private static intcommandDelayprivate ScriptManagerscriptManager-
Fields 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, vwr
-
-
Constructor Summary
Constructors Constructor Description CommandWatcherThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()protected voidrun1(int mode)intsetManager(java.lang.Object manager, Viewer vwr, java.lang.Object params)-
Methods inherited from class org.jmol.thread.JmolThread
checkInterrupted, interrupt, oops, reset, resumeEval, runSleep, setEval, setViewer, start
-
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, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
scriptManager
private ScriptManager scriptManager
-
commandDelay
private static final int commandDelay
- See Also:
- Constant Field Values
-
-
Method Detail
-
setManager
public int setManager(java.lang.Object manager, Viewer vwr, java.lang.Object params)- Overrides:
setManagerin classJmolThread- Returns:
- TODO
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classJmolThread
-
run1
protected void run1(int mode) throws java.lang.InterruptedException- Specified by:
run1in classJmolThread- Throws:
java.lang.InterruptedException
-
-