Package org.geotools.swing.event
Interface MapPaneListener
-
- All Known Implementing Classes:
MapPaneAdapter
public interface MapPaneListener
Listens to events published by the MapPane.- Since:
- 2.6
- Author:
- Michael Bedward
-
-
Method Summary
All Methods Instance Methods Abstract 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
void onNewMapContent(MapPaneEvent ev)
Called when a newMapContent
instance has been set for the map pane.- Parameters:
ev
- the event
-
onDisplayAreaChanged
void onDisplayAreaChanged(MapPaneEvent ev)
Called the display area (world bounds) has changed.- Parameters:
ev
- the event
-
onRenderingStarted
void onRenderingStarted(MapPaneEvent ev)
Called when a rendering task has started.- Parameters:
ev
- the event
-
onRenderingStopped
void onRenderingStopped(MapPaneEvent ev)
Called when a rendering task has stopped. This includes normal completion, cancellation or failure.- Parameters:
ev
- the event
-
-