Package org.geotools.swing.event
Class MapPaneAdapter
- Object
-
- MapPaneAdapter
-
- All Implemented Interfaces:
MapPaneListener
public class MapPaneAdapter extends Object implements MapPaneListener
An adapter class that implements all of the methods defined byMapPaneListener
as empty methods, allowing sub-classes to just override the methods they need.- Since:
- 2.6
- Author:
- Michael Bedward
-
-
Constructor Summary
Constructors Constructor Description MapPaneAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onDisplayAreaChanged(MapPaneEvent ev)
Called the display area (world bounds) has changed.void
onNewMapContent(MapPaneEvent ev)
Called when a newMapContent
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.
-
-
-
Method Detail
-
onNewMapContent
public void onNewMapContent(MapPaneEvent ev)
Called when a newMapContent
instance has been set for the map pane.- Specified by:
onNewMapContent
in interfaceMapPaneListener
- Parameters:
ev
- the event
-
onDisplayAreaChanged
public void onDisplayAreaChanged(MapPaneEvent ev)
Called the display area (world bounds) has changed.- Specified by:
onDisplayAreaChanged
in interfaceMapPaneListener
- Parameters:
ev
- the event
-
onRenderingStarted
public void onRenderingStarted(MapPaneEvent ev)
Called when a rendering task has started.- Specified by:
onRenderingStarted
in interfaceMapPaneListener
- 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 interfaceMapPaneListener
- Parameters:
ev
- the event
-
-