Class Dialog.DialogHeader

java.lang.Object
com.vaadin.flow.component.dialog.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:
  • Field Details

    • root

      protected final Element root
  • Method Details

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

      public void removeAll()
      Removes all components from the container.