Package com.jogamp.newt.event.awt
Class AWTMouseAdapter
java.lang.Object
com.jogamp.newt.event.awt.AWTAdapter
com.jogamp.newt.event.awt.AWTMouseAdapter
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
public class AWTMouseAdapter
extends AWTAdapter
implements MouseListener, MouseMotionListener, MouseWheelListener
-
Field Summary
Fields inherited from class com.jogamp.newt.event.awt.AWTAdapter
DEBUG_IMPLEMENTATION
-
Constructor Summary
ConstructorsConstructorDescriptionAWTMouseAdapter
(MouseListener newtListener, NativeSurfaceHolder nsProxy) AWTMouseAdapter
(MouseListener newtListener, Window newtProxy) AWTMouseAdapter
(Window downstream) -
Method Summary
Modifier and TypeMethodDescriptionDue to the fact that some NEWTNEWTEventListener
are mapped to more than oneEventListener
, this method is for your convenience to use this Adapter as a listener for all types.
E.g.void
void
void
void
void
void
void
void
removeFrom
(Component awtComponent) Methods inherited from class com.jogamp.newt.event.awt.AWTAdapter
clear, getNativeSurfaceHolder, getNewtEventListener, getNewtWindow, setConsumeAWTEvent, setDownstream
-
Constructor Details
-
AWTMouseAdapter
-
AWTMouseAdapter
-
AWTMouseAdapter
-
AWTMouseAdapter
public AWTMouseAdapter()
-
-
Method Details
-
addTo
Description copied from class:AWTAdapter
Due to the fact that some NEWTNEWTEventListener
are mapped to more than oneEventListener
, this method is for your convenience to use this Adapter as a listener for all types.
E.g.MouseListener
is mapped toMouseListener
andMouseMotionListener
.- Specified by:
addTo
in classAWTAdapter
-
removeFrom
- Specified by:
removeFrom
in classAWTAdapter
- See Also:
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-
mouseWheelMoved
- Specified by:
mouseWheelMoved
in interfaceMouseWheelListener
-