Class ElementClick

java.lang.Object
com.storedobject.vaadin.util.ElementClick
All Implemented Interfaces:
ClickNotifier, com.vaadin.flow.component.ClickNotifier<com.vaadin.flow.component.Component>, Serializable

public class ElementClick extends Object implements ClickNotifier
A class that enables handling and notifying click events for a specified component. The class adds an event listener to the component's associated Element to capture click events with detailed event data, and notifies registered listeners when a click event occurs. This provides an enhanced mechanism to manage and process click events on components. The class uses EnhancedClickEvent to encapsulate detailed click event information, such as screen coordinates, client coordinates, component-relative coordinates, button state, and additional keyboard modifier states (e.g., Ctrl, Shift, Alt, Meta). This class implements the ClickNotifier interface, allowing the addition and removal of click listeners dynamically.
Author:
Syam
See Also: