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 by MapPaneListener as empty methods, allowing sub-classes to just override the methods they need.
Since:
2.6
Author:
Michael Bedward
  • Constructor Details

    • MapPaneAdapter

      public MapPaneAdapter()
  • Method Details

    • 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