diva.canvas.event
Class LayerAdapter

java.lang.Object
  extended by diva.canvas.event.LayerAdapter
All Implemented Interfaces:
LayerListener, java.util.EventListener

public class LayerAdapter
extends java.lang.Object
implements LayerListener

An adapter for layer listeners. The methods in this class are empty -- the class is provided to make it easier to produce anonymous LayerListeners.

Version:
$Id: LayerAdapter.java 38798 2005-07-08 20:00:01Z cxh $
Author:
John Reekie

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

LayerAdapter

public LayerAdapter()
Method Detail

mouseDragged

public void mouseDragged(LayerEvent e)
Invoked when the mouse moves while the button is still held down.

Specified by:
mouseDragged in interface LayerListener

mousePressed

public void mousePressed(LayerEvent e)
Invoked when the mouse is pressed on a layer or figure.

Specified by:
mousePressed in interface LayerListener

mouseReleased

public void mouseReleased(LayerEvent e)
Invoked when the mouse is released on a layer or figure.

Specified by:
mouseReleased in interface LayerListener

mouseClicked

public void mouseClicked(LayerEvent e)
Invoked when the mouse is clicked on a layer or figure.

Specified by:
mouseClicked in interface LayerListener