Package org.jmol.thread
Class HoverWatcherThread
- java.lang.Object
-
- java.lang.Thread
-
- org.jmol.thread.JmolThread
-
- org.jmol.thread.HoverWatcherThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class HoverWatcherThread extends JmolThread
-
-
Field Summary
Fields Modifier and Type Field Description private ActionManager
actionManager
private MouseState
current
private int
hoverDelay
private MouseState
moved
-
Fields inherited from class org.jmol.thread.JmolThread
CHECK1, CHECK2, CHECK3, currentTime, eval, FINISH, haveReference, hoverEnabled, INIT, isJS, isReset, junk, lastRepaintTime, MAIN, name, sc, sleepTime, startTime, stopped, targetTime, useTimeout, vwr
-
-
Constructor Summary
Constructors Constructor Description HoverWatcherThread(ActionManager actionManager, MouseState current, MouseState moved, Viewer vwr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
run1(int mode)
-
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, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, suspend, yield
-
-
-
-
Field Detail
-
actionManager
private ActionManager actionManager
-
current
private final MouseState current
-
moved
private final MouseState moved
-
hoverDelay
private int hoverDelay
-
-
Constructor Detail
-
HoverWatcherThread
public HoverWatcherThread(ActionManager actionManager, MouseState current, MouseState moved, Viewer vwr)
- Parameters:
actionManager
-current
-moved
-vwr
-
-
-
Method Detail
-
run1
protected void run1(int mode) throws java.lang.InterruptedException
- Specified by:
run1
in classJmolThread
- Throws:
java.lang.InterruptedException
-
-