com.vaadin.flow.component.internal.

Class AbstractAttachDetachEvent

    • Constructor Detail

      • AbstractAttachDetachEvent

        public AbstractAttachDetachEvent(Component source)

        Creates a new event with the given component as source.

        Parameters:

        source - the component that was attached or detached

    • Method Detail

      • getUI

        public UI getUI()

        Gets the UI the component is attached to.

        Returns:

        the UI this component is attached to

      • getSession

        public VaadinSession getSession()

        Gets the session the component is attached to.

        Returns:

        the session this component is attached to