public class DragListener extends MouseInputAdapter
MouseListener
and a MouseMotionListener
on the component it's watching.Constructor and Description |
---|
DragListener() |
Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(MouseEvent evt) |
void |
mouseEntered(MouseEvent evt) |
void |
mousePressed(MouseEvent evt) |
void |
mouseReleased(MouseEvent evt) |
mouseClicked, mouseExited, mouseMoved, mouseWheelMoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
mouseClicked, mouseExited
mouseMoved
public void mousePressed(MouseEvent evt)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
public void mouseReleased(MouseEvent evt)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
public void mouseEntered(MouseEvent evt)
mouseEntered
in interface MouseListener
mouseEntered
in class MouseAdapter
public void mouseDragged(MouseEvent evt)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseAdapter
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.