public class VisitMouseManager
extends java.lang.Object
MouseMoveListener.mouseMove(org.eclipse.swt.events.MouseEvent)
implementation and stored in an AtomicReferenceVisItSwtWidget.mouseMove(int, int, boolean, boolean)
gets the mouse
location from the AtomicReferenceConstructor and Description |
---|
VisitMouseManager(gov.lbnl.visit.swt.VisItSwtWidget widget)
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
enqueueMouseLocation(int x,
int y)
This function collects the necessary state information execute an image
rotation operation.
|
void |
start(int x,
int y,
boolean ctrl,
boolean shift)
This operation is called to begin executing the mouse movement processing
thread.
|
void |
stop()
This operation stops the thread execution.
|
public VisitMouseManager(gov.lbnl.visit.swt.VisItSwtWidget widget)
widget
- The VisItSwtWidget for which this instance will manage the
mouse input.public void start(int x, int y, boolean ctrl, boolean shift)
x
- The horizontal location where the click-and-drag begany
- The vertical location where the click-and-drag beganctrl
- The boolean indicator for whether or not the user is pressing
the 'Ctrl' buttonshift
- The boolean indicator for whether or not the user is pressing
the 'Shift' buttonpublic void stop()
public void enqueueMouseLocation(int x, int y)
x
- The horizontal location of the mouse pointery
- The vertical location of the mouse pointer