com.vaadin.ui.

Class HasComponents.ComponentDetachEvent

    • 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.