Package com.vaadin.ui

Class HasComponents.ComponentDetachEvent

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing interface:
    HasComponents

    public static class HasComponents.ComponentDetachEvent
    extends Component.Event
    Component detach event sent when a component is detached from container.
    See Also:
    Serialized Form
    • Constructor Detail

      • ComponentDetachEvent

        public ComponentDetachEvent​(HasComponents container,
                                    Component detachedComponent)
        Creates a new detach event.
        Parameters:
        container - the container the component has been detached from.
        detachedComponent - the component that has been detached.
    • Method Detail

      • getContainer

        public HasComponents getContainer()
        Gets the component container.
      • getDetachedComponent

        public Component getDetachedComponent()
        Gets the detached component.
        Returns:
        the detached component.