Class TooltipCloseEvent
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.TooltipEvent
org.vaadin.addons.componentfactory.leaflet.layer.events.TooltipCloseEvent
- All Implemented Interfaces:
Serializable
Event fired when a tooltip bound to a layer is closed.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTooltipCloseEvent(LeafletMap source, boolean fromClient, String layerId) Creates a new tooltip close event. -
Method Summary
Methods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.events.TooltipEvent
getTooltip, 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
-
TooltipCloseEvent
public TooltipCloseEvent(LeafletMap source, boolean fromClient, @EventData("event.detail.target.options.uuid") String layerId) Creates a new tooltip close event.- Parameters:
source- the source componentfromClient-trueif the event originated on the client sidelayerId- the identifier of the layer the tooltip is bound to
-