Class MouseDoubleClickEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<LeafletMap>
org.vaadin.addons.componentfactory.leaflet.layer.events.LeafletEvent
org.vaadin.addons.componentfactory.leaflet.layer.events.MouseEvent
org.vaadin.addons.componentfactory.leaflet.layer.events.MouseDoubleClickEvent
- All Implemented Interfaces:
Serializable
Event fired when the user double-clicks (or double-taps) on the map or a layer.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMouseDoubleClickEvent(LeafletMap source, boolean fromClient, String layerId, double latitude, double longitude, int layerPointX, int layerPointY, int containerPointX, int containerPointY) Creates a new double click event. -
Method Summary
Methods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.events.MouseEvent
getContainerPoint, getLatLng, getLayerPoint, toStringMethods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.events.LeafletEvent
getLayerId, getTypeMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListener
-
Constructor Details
-
MouseDoubleClickEvent
public MouseDoubleClickEvent(LeafletMap source, boolean fromClient, @EventData("event.detail.target.options.uuid") String layerId, @EventData("event.detail.latlng.lat") double latitude, @EventData("event.detail.latlng.lng") double longitude, @EventData("event.detail.layerPoint.x") int layerPointX, @EventData("event.detail.layerPoint.y") int layerPointY, @EventData("event.detail.containerPoint.x") int containerPointX, @EventData("event.detail.containerPoint.y") int containerPointY) Creates a new double click event.- Parameters:
source- the source componentfromClient-trueif the event originated on the client sidelayerId- the id of the layer that fired the eventlatitude- the latitude of the point where the event occurredlongitude- the longitude of the point where the event occurredlayerPointX- the x pixel coordinate relative to the map layerlayerPointY- the y pixel coordinate relative to the map layercontainerPointX- the x pixel coordinate relative to the map containercontainerPointY- the y pixel coordinate relative to the map container
-