Package com.jbstrap.jbmap.events
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidGets 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
-
Constructor Details
-
MapClickEvent
public MapClickEvent()
-
-
Method Details
-
getLongitude
Gets the longitude coordinates of the click event.- Returns:
- Longitude
-
getLatitude
Gets the latitude coordinates of the click event.- Returns:
- Latitude
-
fireEvent
public void fireEvent()- Specified by:
fireEventin classcom.jbstrap.core.event.BaseEvent
-