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 ComponentContainer.ComponentDetachEvent
java.lang.Object
java.util.EventObject
com.vaadin.ui.Component.Event
com.vaadin.ui.ComponentContainer.ComponentDetachEvent
All Implemented Interfaces:
Enclosing interface:
- extends Component.Event
public static class ComponentContainer.ComponentDetachEvent
Component detach event sent when a component is detached from container.
See Also:
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ComponentContainer.ComponentDetachEvent(ComponentContainer container,
Component detachedComponent)
Creates a new detach event. |
Method Summary | |
---|---|
ComponentContainer |
getContainer()
Gets the component container. |
Component |
getDetachedComponent()
Gets the detached component. |
Methods inherited from class com.vaadin.ui.Component.Event |
---|
getComponent |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
ComponentContainer.ComponentDetachEvent
public ComponentContainer.ComponentDetachEvent(ComponentContainer container,
Component detachedComponent)
- Parameters:
container
- the component container the component has been detached from.detachedComponent
- the component that has been detached.
Creates a new detach event.
Method Detail |
---|
getContainer
public ComponentContainer getContainer()
- Parameters:
the
- component container.
Gets the component container.
getDetachedComponent
public Component getDetachedComponent()
- Returns:
- the detached component.
Gets the detached component.