Class MapClickEvent

java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.jbmap.events.MapClickEvent

public class MapClickEvent extends com.jbstrap.core.event.BaseEvent
The MapClickEvent class contains the details of the click event. These are the following:
  • The longitude coordinates of the click event
  • The latitude coordinates of the click event
Since:
4.0
  • Field Summary

    Fields inherited from class com.jbstrap.core.event.BaseEvent

    client, eventType, senderId
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    Gets the latitude coordinates of the click event.
    Gets the longitude coordinates of the click event.

    Methods inherited from class com.jbstrap.core.event.BaseEvent

    b, b, getClient, getComponent, getEventId, getEventType, getSenderId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MapClickEvent

      public MapClickEvent()
  • Method Details

    • getLongitude

      public Double getLongitude()
      Gets the longitude coordinates of the click event.
      Returns:
      Longitude
    • getLatitude

      public Double getLatitude()
      Gets the latitude coordinates of the click event.
      Returns:
      Latitude
    • fireEvent

      public void fireEvent()
      Specified by:
      fireEvent in class com.jbstrap.core.event.BaseEvent