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.ui.
Class HasComponents.ComponentAttachEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.HasComponents.ComponentAttachEvent
-
All Implemented Interfaces:
Enclosing interface:
public static class HasComponents.ComponentAttachEvent extends Component.Event
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
Constructors Constructor Description ComponentAttachEvent​(HasComponents container, Component attachedComponent)
Creates a new attach event.
-
Method Summary
All Methods Modifier and Type Method Description Component
getAttachedComponent()
Gets the attached component.
HasComponents
getContainer()
Gets the component container.
-
Methods inherited from class com.vaadin.ui.Component.Event
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
ComponentAttachEvent
public ComponentAttachEvent​(HasComponents container, 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 Detail
-
getContainer
public HasComponents getContainer()
Gets the component container.
-
getAttachedComponent
public Component getAttachedComponent()
Gets the attached component.
-
-