public class LayerMouseAdapter extends Object implements LayerListener, LayerMotionListener
Constructor and Description |
---|
LayerMouseAdapter(MouseListener ml,
MouseMotionListener mml) |
Modifier and Type | Method and Description |
---|---|
MouseFilter |
getMouseFilter() |
void |
mouseClicked(LayerEvent e)
Invoked when the mouse is clicked on a layer or figure.
|
void |
mouseDragged(LayerEvent e)
Invoked when the mouse moves while the button is still held
down.
|
void |
mouseEntered(LayerEvent e)
Invoked when the mouse enters a layer or figure.
|
void |
mouseExited(LayerEvent e)
Invoked when the mouse exits a layer or figure.
|
void |
mouseMoved(LayerEvent e)
Invoked when the mouse moves while over a layer or figure.
|
void |
mousePressed(LayerEvent e)
Invoked when the mouse is pressed on a layer or figure.
|
void |
mouseReleased(LayerEvent e)
Invoked when the mouse is released on a layer or figure.
|
void |
setMouseFilter(MouseFilter f) |
public LayerMouseAdapter(MouseListener ml, MouseMotionListener mml)
public MouseFilter getMouseFilter()
public void mouseClicked(LayerEvent e)
LayerListener
mouseClicked
in interface LayerListener
public void mousePressed(LayerEvent e)
LayerListener
mousePressed
in interface LayerListener
public void mouseDragged(LayerEvent e)
LayerListener
mouseDragged
in interface LayerListener
public void mouseMoved(LayerEvent e)
LayerMotionListener
mouseMoved
in interface LayerMotionListener
public void mouseReleased(LayerEvent e)
LayerListener
mouseReleased
in interface LayerListener
public void mouseEntered(LayerEvent e)
LayerMotionListener
mouseEntered
in interface LayerMotionListener
public void mouseExited(LayerEvent e)
LayerMotionListener
mouseExited
in interface LayerMotionListener
public void setMouseFilter(MouseFilter f)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.