Package org.jmol.navigate
Class Navigator
java.lang.Object
java.lang.Thread
org.jmol.thread.JmolThread
org.jmol.navigate.Navigator
- All Implemented Interfaces:
Runnable
,JmolNavigatorInterface
Navigator is a user input mechanism that utilizes the keypad to drive through
the model.
It is created by reflection only from org.jmol.viewer.TransformManager
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
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, useTimeout, vwr
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
navigateAxis
(V3 rotAxis, float degrees) void
navigateKey
(int keyCode, int modifiers) void
navigateList
(JmolScriptEvaluator eval, Lst<Object[]> list) void
navTranslatePercentOrTo
(float seconds, float x, float y) protected void
protected void
run1
(int mode) void
set
(TransformManager tm, Viewer vwr) void
setNavigationDepthPercent
(float percent) void
void
zoomByFactor
(float factor, int x, int y) Methods inherited from class org.jmol.thread.JmolThread
checkInterrupted, interrupt, 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jmol.api.JmolNavigatorInterface
interrupt
-
Constructor Details
-
Navigator
public Navigator()
-
-
Method Details
-
set
- Specified by:
set
in interfaceJmolNavigatorInterface
-
run1
- Specified by:
run1
in classJmolThread
- Throws:
InterruptedException
-
zoomByFactor
public void zoomByFactor(float factor, int x, int y) - Specified by:
zoomByFactor
in interfaceJmolNavigatorInterface
-
oops
- Overrides:
oops
in classJmolThread
-