Package com.vaadin.flow.dom
Class ElementDetachEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.dom.ElementDetachEvent
-
- All Implemented Interfaces:
Serializable
public class ElementDetachEvent extends EventObject
Event fired after an element has been detached from the UI.When a hierarchy of elements is being detached, this event is fired child-first.
- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description ElementDetachEvent(Element source)
Creates a new detach event with the given element as source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Element
getSource()
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
ElementDetachEvent
public ElementDetachEvent(Element source)
Creates a new detach event with the given element as source.- Parameters:
source
- the element that was detached
-
-
Method Detail
-
getSource
public Element getSource()
- Overrides:
getSource
in classEventObject
-
-