You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.dialog.

Class Dialog.DialogHeader

  • All Implemented Interfaces:

    Serializable

    Enclosing class:

    Dialog

    public static final class Dialog.DialogHeader
    extends Object

    Class for adding and removing components to the header part of a dialog.

    See Also:

    Serialized Form

    • Field Detail

      • root

        protected final Element root
    • Method Detail

      • add

        public void add​(Component... components)

        Adds the given components to the container.

        Parameters:

        components - the components to be added.

      • remove

        public void remove​(Component... components)

        Removes the given components from the container.

        Note that the component needs to be removed from this method in order to guarantee the correct state of the component.

        Parameters:

        components - the components to be removed.