01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2003-2006, Geotools Project Managment Committee (PMC)
05: * (C) 2001, Institut de Recherche pour le Développement
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation; either
10: * version 2.1 of the License, or (at your option) any later version.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.gui.swing.event;
18:
19: // Events
20: import java.util.EventListener;
21:
22: /**
23: * Defines an object which listens for zoom change events. Zoom changes
24: * are indicated by an {@link java.awt.geom.AffineTransform}.
25: *
26: * @since 2.0
27: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/extension/widgets-swing/src/main/java/org/geotools/gui/swing/event/ZoomChangeListener.java $
28: * @version $Id: ZoomChangeListener.java 22482 2006-10-31 02:58:00Z desruisseaux $
29: * @author Martin Desruisseaux
30: */
31: public interface ZoomChangeListener extends EventListener {
32: /**
33: * Invoked when a zoom changes.
34: */
35: public abstract void zoomChanged(final ZoomChangeEvent event);
36: }
|