|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdiva.canvas.event.LayerAdapter
public class LayerAdapter
An adapter for layer listeners. The methods in this class are empty -- the class is provided to make it easier to produce anonymous LayerListeners.
| Constructor Summary | |
|---|---|
LayerAdapter()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayerAdapter()
| Method Detail |
|---|
public void mouseDragged(LayerEvent e)
mouseDragged in interface LayerListenerpublic void mousePressed(LayerEvent e)
mousePressed in interface LayerListenerpublic void mouseReleased(LayerEvent e)
mouseReleased in interface LayerListenerpublic void mouseClicked(LayerEvent e)
mouseClicked in interface LayerListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||