01: /*
02: * uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004,
03: * Refractions Research Inc. This library is free software; you can redistribute it and/or modify it
04: * under the terms of the GNU Lesser General Public License as published by the Free Software
05: * Foundation; version 2.1 of the License. This library is distributed in the hope that it will be
06: * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
07: * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
08: */
09: package net.refractions.udig.project.ui.render.displayAdapter;
10:
11: /**
12: * A Listener interested in mouse button event and entry and exit events. MapMouseListeners can sigh
13: * up for
14: *
15: * @author Jones
16: * @since 0.3
17: */
18: public interface MapMouseListener {
19: /**
20: * Called when a button is pressed down.
21: *
22: * @param event the event data.
23: * @see MapMouseEvent
24: */
25: public void mousePressed(MapMouseEvent event);
26:
27: /**
28: * Called when a button is release.
29: *
30: * @param event the event data.
31: * @see MapMouseEvent
32: */
33: public void mouseReleased(MapMouseEvent event);
34:
35: /**
36: * Called when the mouse cursor enters the map display area.
37: *
38: * @param event the event data.
39: * @see MapMouseEvent
40: */
41: public void mouseEntered(MapMouseEvent event);
42:
43: /**
44: * Called when the mouse cursor exits the map dispaly area.
45: *
46: * @param event the event data.
47: * @see MapMouseEvent
48: */
49: public void mouseExited(MapMouseEvent event);
50:
51: /**
52: * Called when a button has been double clicked.
53: *
54: * @param event the event data.
55: * @see MapMouseEvent
56: */
57: public void mouseDoubleClicked(MapMouseEvent event);
58:
59: }
|