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, vwrFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidnavigateAxis(V3 rotAxis, float degrees) voidnavigateKey(int keyCode, int modifiers) voidnavigateList(JmolScriptEvaluator eval, Lst<Object[]> list) voidnavTranslatePercentOrTo(float seconds, float x, float y) protected voidprotected voidrun1(int mode) voidset(TransformManager tm, Viewer vwr) voidsetNavigationDepthPercent(float percent) voidvoidzoomByFactor(float factor, int x, int y) Methods inherited from class org.jmol.thread.JmolThread
checkInterrupted, interrupt, 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, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, startVirtualThread, stop, suspend, threadId, yieldMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jmol.api.JmolNavigatorInterface
interrupt
-
Constructor Details
-
Navigator
public Navigator()
-
-
Method Details
-
set
- Specified by:
setin interfaceJmolNavigatorInterface
-
run1
- Specified by:
run1in classJmolThread- Throws:
InterruptedException
-
zoomByFactor
public void zoomByFactor(float factor, int x, int y) - Specified by:
zoomByFactorin interfaceJmolNavigatorInterface
-
oops
- Overrides:
oopsin classJmolThread
-