Class NavigationBehavior.MouseWheelMouseControl
java.lang.Object
java.lang.Thread
gov.nih.mipav.view.renderer.WildMagic.Navigation.NavigationBehavior.MouseWheelMouseControl
- All Implemented Interfaces:
Runnable
- Enclosing class:
NavigationBehavior
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescription(package private) MouseEventDOCUMENT ME!(package private) MouseEventint centerX, centerY;.(package private) intDOCUMENT ME!(package private) intDOCUMENT ME!(package private) boolean(package private) ObjectDOCUMENT ME!(package private) longDOCUMENT ME!(package private) intDOCUMENT ME!(package private) intDOCUMENT ME!Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionCreates new thread and sets up mouse event variables appropriately. -
Method Summary
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, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
currentEvent
MouseEvent currentEventDOCUMENT ME! -
evt
MouseEvent evtint centerX, centerY;. -
source
Object sourceDOCUMENT ME! -
when
long whenDOCUMENT ME! -
x
int xDOCUMENT ME! -
y
int yDOCUMENT ME! -
mod
int modDOCUMENT ME! -
id
int idDOCUMENT ME! -
moveForward
boolean moveForward
-
-
Constructor Details
-
MouseWheelMouseControl
Creates new thread and sets up mouse event variables appropriately.- Parameters:
event- Original mouse event, from button.
-
-
Method Details
-
terminate
public void terminate() -
run
public void run()Runs the thread. While the button is pressed, dispatches mouse dragged events at a rate consistent with the velocity slider. Once the mouse is released,pressedwill be set to false and the loop will stop.
-