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 methods defined by MapPaneListener as empty methods, allowing sub-classes to just override the methods they need.

Since:
2.6
Author:
Michael Bedward

Constructor Summary
MapPaneAdapter()
           
 
Method Summary
 void onDisplayAreaChanged(MapPaneEvent ev)
          Called the display area (world bounds) has changed.
 void onNewMapContent(MapPaneEvent ev)
          Called when a new MapContent instance has been set for the map pane.
 void onRenderingStarted(MapPaneEvent ev)
          Called when a rendering task has started.
 void onRenderingStopped(MapPaneEvent ev)
          Called when a rendering task has stopped.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapPaneAdapter

public MapPaneAdapter()
Method Detail

onNewMapContent

public void onNewMapContent(MapPaneEvent ev)
Called when a new MapContent instance has been set for the map pane.

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

onDisplayAreaChanged

public void onDisplayAreaChanged(MapPaneEvent ev)
Called the display area (world bounds) has changed.

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

onRenderingStarted

public void onRenderingStarted(MapPaneEvent ev)
Called when a rendering task has started.

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

onRenderingStopped

public void onRenderingStopped(MapPaneEvent ev)
Called when a rendering task has stopped. This includes normal completion, cancellation or failure.

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


Copyright © 1996-2014 Geotools. All Rights Reserved.