public class CanvasController extends MouseAdapter
Modifier and Type | Method and Description |
---|---|
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e)
For dragging, when disabled the state of the controller is updated, but the state of the canvas is not modified.
|
void |
mouseMoved(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent evt) |
void |
mouseWheelMoved(MouseWheelEvent e) |
void |
setEnabled(boolean enabled) |
mouseEntered, mouseExited
public void mouseMoved(MouseEvent e)
mouseMoved
in interface MouseMotionListener
mouseMoved
in class MouseAdapter
public void mouseReleased(MouseEvent evt)
mouseReleased
in interface MouseListener
mouseReleased
in class MouseAdapter
public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
mousePressed
in class MouseAdapter
public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
mouseClicked
in class MouseAdapter
public void mouseDragged(MouseEvent e)
mouseDragged
in interface MouseMotionListener
mouseDragged
in class MouseAdapter
e
- public void mouseWheelMoved(MouseWheelEvent e)
mouseWheelMoved
in interface MouseWheelListener
mouseWheelMoved
in class MouseAdapter
public void setEnabled(boolean enabled)
enabled
- Copyright © 2013–2022 Francis Crick Institute. All rights reserved.