We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.
Class AttachEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.component.ComponentEvent<Component>
-
- com.vaadin.flow.component.internal.AbstractAttachDetachEvent
-
- com.vaadin.flow.component.AttachEvent
-
All Implemented Interfaces:
public class AttachEvent extends AbstractAttachDetachEvent
Event fired after a
Component
is attached to the UI.When a hierarchy of components is being attached, this event is fired child-first.
Since:
1.0
See Also:
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description AttachEvent​(Component source, boolean initialAttach)
Creates a new attach event with the given component as source.
-
Method Summary
All Methods Modifier and Type Method Description boolean
isInitialAttach()
Checks whether this is the first time the component has been attached.
-
Methods inherited from class com.vaadin.flow.component.internal.AbstractAttachDetachEvent
getSession, getUI
-
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
-
Methods inherited from class java.util.EventObject
toString
-
-
-
-
Constructor Detail
-
AttachEvent
public AttachEvent​(Component source, boolean initialAttach)
Creates a new attach event with the given component as source.
Parameters:
source
- the component that was attachedinitialAttach
- indicates whether this is the first time the component (element) has been attached
-
-