Interface IComponentMouseEventObject

All Known Subinterfaces:
ICircle, ICircleWrapped, IMarker, IMarkerWrapped, IRectangle, IRectangleWrapped

public interface IComponentMouseEventObject
Represents a map component that responds to mouse click events
Author:
swong
  • Method Summary

    Modifier and Type Method Description
    void setComponentMouseEvent​(ComponentMouseEventType eventType, java.util.function.Consumer<IMouseEvent> eventFn)
    Set the given ComponentMouseEventType event to invoke the given event handler function
  • Method Details

    • setComponentMouseEvent

      void setComponentMouseEvent​(ComponentMouseEventType eventType, java.util.function.Consumer<IMouseEvent> eventFn)
      Set the given ComponentMouseEventType event to invoke the given event handler function
      Parameters:
      eventType - The desired event type
      eventFn - The event handler function to invoke when the event occurs.