Class Dialog.DialogFooter

java.lang.Object
com.vaadin.flow.component.dialog.Dialog.DialogFooter
All Implemented Interfaces:
Serializable
Enclosing class:
Dialog

public static final class Dialog.DialogFooter extends Object
Class for adding and removing components to the footer part of a dialog.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.vaadin.flow.dom.Element
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(com.vaadin.flow.component.Component... components)
    Adds the given components to the container.
    void
    remove(com.vaadin.flow.component.Component... components)
    Removes the given components from the container.
    void
    Removes all components from the container.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • root

      protected final com.vaadin.flow.dom.Element root
  • Method Details

    • add

      public void add(com.vaadin.flow.component.Component... components)
      Adds the given components to the container.
      Parameters:
      components - the components to be added.
    • remove

      public void remove(com.vaadin.flow.component.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.