Package com.storedobject.vaadin
Class Svg.MouseOverEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Svg>
com.storedobject.vaadin.Svg.Event
com.storedobject.vaadin.Svg.MouseOverEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
Svg
Represents a mouseover event triggered when the user moves the mouse pointer
over an SVG element. This event is specific to interactions involving SVG components
and captures details such as the coordinates of the mouse pointer and information
about the target element.
This event class extends the base Event class and provides additional
metadata required for handling mouseover interactions.
- Author:
- Syam
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMouseOverEvent(Svg source, boolean fromClient, double clientX, double clientY, String elementId, String tagName) Creates a new event using the given source and indicator whether the event originated from the client side or the server side. -
Method Summary
Methods inherited from class com.storedobject.vaadin.Svg.Event
getChart, getClientX, getClientY, getNode, getNodeId, getTagName, getValue, getValueIdMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
MouseOverEvent
public MouseOverEvent(Svg source, boolean fromClient, @EventData("event.clientX") double clientX, @EventData("event.clientY") double clientY, @EventData("event.target.id") String elementId, @EventData("event.target.tagName") String tagName) Creates a new event using the given source and indicator whether the event originated from the client side or the server side.- Parameters:
source- the source componentfromClient-trueif the event originated from the client side,falseotherwiseclientX- the x coordinate of the mouse pointerclientY- the y coordinate of the mouse pointerelementId- the id of the element that was clickedtagName- the tag name of the element that was clicked
-