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 NEWTNEWTEventListenerare mapped to more than oneEventListener, this method is for your convenience to use this Adapter as a listener for all types.
E.g.voidvoidvoidvoidvoidvoidvoidvoidremoveFrom(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:AWTAdapterDue to the fact that some NEWTNEWTEventListenerare mapped to more than oneEventListener, this method is for your convenience to use this Adapter as a listener for all types.
E.g.MouseListeneris mapped toMouseListenerandMouseMotionListener.- Specified by:
addToin classAWTAdapter
-
removeFrom
- Specified by:
removeFromin classAWTAdapter- See Also:
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
mouseWheelMoved
- Specified by:
mouseWheelMovedin interfaceMouseWheelListener
-