Package com.vaadin.flow.dom
Class CustomEvent<T>
java.lang.Object
java.util.EventObject
com.vaadin.flow.dom.DomEvent
com.vaadin.flow.dom.CustomEvent<T>
- Type Parameters:
T- The DTO type used for the detail.
- All Implemented Interfaces:
Serializable
A helper for JS CustomEvent's that automatically maps the 'detail' from the
JS event into a DTO.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Method Summary
Methods inherited from class com.vaadin.flow.dom.DomEvent
getEventData, getEventData, getEventData, getEventDataElement, getEventDetail, getEventDetail, getEventTarget, getPhase, getSource, getTypeMethods inherited from class java.util.EventObject
toString
-
Method Details
-
getDetail
- Returns:
- the detail property of the original JS event mapped into a Java object.
-