Package org.geotools.swing.event
Class MapPaneAdapter
Object
MapPaneAdapter
- All Implemented Interfaces:
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Called the display area (world bounds) has changed.void
Called when a newMapContent
instance has been set for the map pane.void
Called when a rendering task has started.void
Called when a rendering task has stopped.
-
Constructor Details
-
MapPaneAdapter
public MapPaneAdapter()
-
-
Method Details
-
onNewMapContent
Called when a newMapContent
instance has been set for the map pane.- Specified by:
onNewMapContent
in interfaceMapPaneListener
- Parameters:
ev
- the event
-
onDisplayAreaChanged
Called the display area (world bounds) has changed.- Specified by:
onDisplayAreaChanged
in interfaceMapPaneListener
- Parameters:
ev
- the event
-
onRenderingStarted
Called when a rendering task has started.- Specified by:
onRenderingStarted
in interfaceMapPaneListener
- Parameters:
ev
- the event
-
onRenderingStopped
Called when a rendering task has stopped. This includes normal completion, cancellation or failure.- Specified by:
onRenderingStopped
in interfaceMapPaneListener
- Parameters:
ev
- the event
-