Package com.vaadin.flow.component
Class DetachEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Component>
com.vaadin.flow.component.internal.AbstractAttachDetachEvent
com.vaadin.flow.component.DetachEvent
- All Implemented Interfaces:
Serializable
Event fired before a
Component is detached from the UI.
When a hierarchy of components is being detached, this event is fired child-first.
- Since:
- 1.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionDetachEvent(Component source) Creates a new detach event with the given component as source. -
Method Summary
Methods inherited from class com.vaadin.flow.component.internal.AbstractAttachDetachEvent
getSession, getUIMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
DetachEvent
Creates a new detach event with the given component as source.- Parameters:
source- the component that was detached
-