Class MapClickEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Map>
com.vaadin.componentfactory.maps.events.MapClickEvent
- All Implemented Interfaces:
ClickEvent,Serializable
@DomEvent("chart-click")
public class MapClickEvent
extends com.vaadin.flow.component.ComponentEvent<Map>
implements ClickEvent
The ChartClickEvent class stores information on click events anywhere on the
area of the chart.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMapClickEvent(Map source, boolean fromClient, Integer x, Integer y, int pageX, int pageY, boolean altKey, boolean ctrlKey, boolean metaKey, boolean shiftKey, int button) Constructs a ChartClickEvent -
Method Summary
Modifier and TypeMethodDescriptionGets the mouse click detailsMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vaadin.componentfactory.maps.events.ClickEvent
getAbsoluteX, getAbsoluteY, getButton, getxAxisValue, getyAxisValue, isAltKey, isCtrlKey, isMetaKey, isShiftKey
-
Constructor Details
-
MapClickEvent
public MapClickEvent(Map source, boolean fromClient, @EventData("event.detail.xValue") Integer x, @EventData("event.detail.yValue") Integer y, @EventData("event.detail.originalEvent.pageX") int pageX, @EventData("event.detail.originalEvent.pageY") int pageY, @EventData("event.detail.originalEvent.altKey") boolean altKey, @EventData("event.detail.originalEvent.ctrlKey") boolean ctrlKey, @EventData("event.detail.originalEvent.metaKey") boolean metaKey, @EventData("event.detail.originalEvent.shiftKey") boolean shiftKey, @EventData("event.detail.originalEvent.button") int button) Constructs a ChartClickEvent
-
-
Method Details
-
getMouseDetails
Gets the mouse click details- Specified by:
getMouseDetailsin interfaceClickEvent- Returns:
- mouse click details
-