Interface MapMouseListener

All Known Implementing Classes:
AbstractZoomTool, CursorTool, InfoTool, MapMouseAdapter, PanTool, ScrollWheelTool, ZoomInTool, ZoomOutTool

public interface MapMouseListener
Interface for classes that listen to MapMouseEvents
Since:
2.6
Author:
Michael Bedward
  • Method Details

    • onMouseClicked

      void onMouseClicked(MapMouseEvent ev)
      Respond to a mouse click event received from the map pane
      Parameters:
      ev - the mouse event
    • onMouseDragged

      void onMouseDragged(MapMouseEvent ev)
      Respond to a mouse dragged event received from the map pane
      Parameters:
      ev - the mouse event
    • onMouseEntered

      void onMouseEntered(MapMouseEvent ev)
      Respond to a mouse entered event received from the map pane
      Parameters:
      ev - the mouse event
    • onMouseExited

      void onMouseExited(MapMouseEvent ev)
      Respond to a mouse exited event received from the map pane
      Parameters:
      ev - the mouse event
    • onMouseMoved

      void onMouseMoved(MapMouseEvent ev)
      Respond to a mouse movement event received from the map pane
      Parameters:
      ev - the mouse event
    • onMousePressed

      void onMousePressed(MapMouseEvent ev)
      Respond to a mouse button press event received from the map pane
      Parameters:
      ev - the mouse event
    • onMouseReleased

      void onMouseReleased(MapMouseEvent ev)
      Respond to a mouse button release event received from the map pane
      Parameters:
      ev - the mouse event
    • onMouseWheelMoved

      void onMouseWheelMoved(MapMouseEvent ev)
      Respond to a mouse wheel scroll event received from the map pane
      Parameters:
      ev - the mouse event