Interface LeafletEventListener<T extends LeafletEvent>

Type Parameters:
T - the type of the Leaflet event handled by this listener
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LeafletEventListener<T extends LeafletEvent>
Listener that is notified when a LeafletEvent of the given type is fired.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleEvent(T event)
    Invoked when the listened event is fired.
  • Method Details

    • handleEvent

      void handleEvent(T event)
      Invoked when the listened event is fired.
      Parameters:
      event - the fired event