org.geotools.swing.event
Class MapPaneAdapter

Object
  extended by MapPaneAdapter
All Implemented Interfaces:
MapPaneListener

public class MapPaneAdapter
extends Object
implements MapPaneListener

An adapter class that implements all of the method defined in the MapPaneListener interface as empty methods, allowing sub-classes to just override the methods they need.

Since:
2.6
Author:
Michael Bedward
Module:
modules/unsupported/swing (gt-swing.jar)

Constructor Summary
MapPaneAdapter()
           
 
Method Summary
 void onDisplayAreaChanged(MapPaneEvent ev)
          Called by the map pane when its display area has been changed e.g. by zooming or panning
 void onNewContext(MapPaneEvent ev)
          Called by the map pane when a new map context has been set
 void onNewRenderer(MapPaneEvent ev)
          Called by the map pane when a new renderer has been set
 void onResized(MapPaneEvent ev)
          Called by the map pane when it has been resized
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapPaneAdapter

public MapPaneAdapter()
Method Detail

onNewContext

public void onNewContext(MapPaneEvent ev)
Called by the map pane when a new map context has been set

Specified by:
onNewContext in interface MapPaneListener
Parameters:
ev - the event

onNewRenderer

public void onNewRenderer(MapPaneEvent ev)
Called by the map pane when a new renderer has been set

Specified by:
onNewRenderer in interface MapPaneListener
Parameters:
ev - the event

onResized

public void onResized(MapPaneEvent ev)
Called by the map pane when it has been resized

Specified by:
onResized in interface MapPaneListener
Parameters:
ev - the event

onDisplayAreaChanged

public void onDisplayAreaChanged(MapPaneEvent ev)
Called by the map pane when its display area has been changed e.g. by zooming or panning

Specified by:
onDisplayAreaChanged in interface MapPaneListener
Parameters:
ev - the event


Copyright © 1996-2009 Geotools. All Rights Reserved.