Package com.io7m.jcamera.examples.jogl
Class ExampleSphericalMouseListener
java.lang.Object
com.jogamp.newt.event.MouseAdapter
com.io7m.jcamera.examples.jogl.ExampleSphericalMouseListener
- All Implemented Interfaces:
com.jogamp.newt.event.MouseListener,com.jogamp.newt.event.NEWTEventListener,EventListener
public final class ExampleSphericalMouseListener
extends com.jogamp.newt.event.MouseAdapter
The mouse adapter used to handle mouse events.
-
Constructor Summary
ConstructorsConstructorDescriptionExampleSphericalMouseListener(com.jogamp.newt.Window in_window, AtomicReference<JCameraSphericalMouseRegion> in_mouse_region, JCameraSphericalInputType in_input, ExampleRendererType in_renderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidmouseDragged(com.jogamp.newt.event.MouseEvent e) voidmouseMoved(com.jogamp.newt.event.MouseEvent e) voidmousePressed(com.jogamp.newt.event.MouseEvent e) voidmouseReleased(com.jogamp.newt.event.MouseEvent e) Methods inherited from class com.jogamp.newt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mouseWheelMoved
-
Constructor Details
-
ExampleSphericalMouseListener
public ExampleSphericalMouseListener(com.jogamp.newt.Window in_window, AtomicReference<JCameraSphericalMouseRegion> in_mouse_region, JCameraSphericalInputType in_input, ExampleRendererType in_renderer)
-
-
Method Details
-
mouseMoved
public void mouseMoved(com.jogamp.newt.event.MouseEvent e) - Specified by:
mouseMovedin interfacecom.jogamp.newt.event.MouseListener- Overrides:
mouseMovedin classcom.jogamp.newt.event.MouseAdapter
-
mousePressed
public void mousePressed(com.jogamp.newt.event.MouseEvent e) - Specified by:
mousePressedin interfacecom.jogamp.newt.event.MouseListener- Overrides:
mousePressedin classcom.jogamp.newt.event.MouseAdapter
-
mouseReleased
public void mouseReleased(com.jogamp.newt.event.MouseEvent e) - Specified by:
mouseReleasedin interfacecom.jogamp.newt.event.MouseListener- Overrides:
mouseReleasedin classcom.jogamp.newt.event.MouseAdapter
-
mouseDragged
public void mouseDragged(com.jogamp.newt.event.MouseEvent e) - Specified by:
mouseDraggedin interfacecom.jogamp.newt.event.MouseListener- Overrides:
mouseDraggedin classcom.jogamp.newt.event.MouseAdapter
-