Package com.vaadin.classic.v8.ui
Class HasComponents.ComponentAttachEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.classic.v8.ui.Event
com.vaadin.classic.v8.ui.HasComponents.ComponentAttachEvent
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- HasComponents
Component attach event sent when a component is attached to container.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionComponentAttachEvent(com.vaadin.flow.component.Component container, com.vaadin.flow.component.Component attachedComponent) Creates a new attach event. -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.ComponentGets the attached component.Gets the component container.Methods inherited from class com.vaadin.classic.v8.ui.Event
getComponentMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ComponentAttachEvent
public ComponentAttachEvent(com.vaadin.flow.component.Component container, com.vaadin.flow.component.Component attachedComponent) Creates a new attach event.- Parameters:
container- the container the component has been detached to.attachedComponent- the component that has been attached.
-
-
Method Details
-
getContainer
Gets the component container. -
getAttachedComponent
public com.vaadin.flow.component.Component getAttachedComponent()Gets the attached component.
-