Interface MapMouseEventDispatcher

    • Method Detail

      • addMouseListener

        boolean addMouseListener​(MapMouseListener listener)
        Adds a listener for map pane mouse events.
        Parameters:
        listener - the new listener
        Returns:
        true if successful; false otherwise
        Throws:
        IllegalArgumentException - if the listener is null
      • removeMouseListener

        boolean removeMouseListener​(MapMouseListener listener)
        Removes the given listener.
        Parameters:
        listener - the listener to remove
        Returns:
        true if successful; false otherwise
        Throws:
        IllegalArgumentException - if the listener is null
      • removeAllListeners

        void removeAllListeners()
        Removes all listeners.