public class LayerConsumer extends java.lang.Object implements LayerListener
Constructor and Description |
---|
LayerConsumer() |
Modifier and Type | Method and Description |
---|---|
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 |
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.
|
public void mouseDragged(LayerEvent e)
mouseDragged
in interface LayerListener
e
- The eventpublic void mousePressed(LayerEvent e)
mousePressed
in interface LayerListener
e
- The eventpublic void mouseReleased(LayerEvent e)
mouseReleased
in interface LayerListener
e
- The eventpublic void mouseClicked(LayerEvent e)
mouseClicked
in interface LayerListener
e
- The event