MouseListener
, MouseMotionListener
, MouseWheelListener
, EventListener
, MouseInputListener
BasicDesktopIconUI.MouseInputHandler
, BasicInternalFrameUI.BorderListener
, BasicSliderUI.TrackListener
public abstract class MouseInputAdapter extends MouseAdapter implements MouseInputListener
MouseInputListener
interface, provided as a convenience to simplify the task of creating listeners, by extending and implementing only the methods of interest. This class also provides an empty implementation of the MouseWheelListener
interface, through its extension from AWT's MouseAdapter
.Modifier | Constructor | Description |
---|---|---|
protected |
Constructor for subclasses to call. |
mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
mouseDragged, mouseMoved
protected MouseInputAdapter()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/event/MouseInputAdapter.html