Class Dialog.DialogFooter

java.lang.Object
com.vaadin.flow.component.dialog.Dialog.DialogFooter
All Implemented Interfaces:
com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, 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)
     
    void
    add(String text)
     
    void
    add(Collection<com.vaadin.flow.component.Component> components)
     
    void
    addComponentAsFirst(com.vaadin.flow.component.Component component)
     
    void
    addComponentAtIndex(int index, com.vaadin.flow.component.Component component)
     
    com.vaadin.flow.dom.Element
     
    void
    remove(com.vaadin.flow.component.Component... components)
     
    void
    remove(Collection<com.vaadin.flow.component.Component> components)
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled
  • Field Details

    • root

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

    • add

      public void add(com.vaadin.flow.component.Component... components)
      Specified by:
      add in interface com.vaadin.flow.component.HasComponents
    • add

      public void add(Collection<com.vaadin.flow.component.Component> components)
      Specified by:
      add in interface com.vaadin.flow.component.HasComponents
    • add

      public void add(String text)
      Specified by:
      add in interface com.vaadin.flow.component.HasComponents
    • remove

      public void remove(com.vaadin.flow.component.Component... components)
      Specified by:
      remove in interface com.vaadin.flow.component.HasComponents
    • remove

      public void remove(Collection<com.vaadin.flow.component.Component> components)
      Specified by:
      remove in interface com.vaadin.flow.component.HasComponents
    • removeAll

      public void removeAll()
      Specified by:
      removeAll in interface com.vaadin.flow.component.HasComponents
    • addComponentAtIndex

      public void addComponentAtIndex(int index, com.vaadin.flow.component.Component component)
      Specified by:
      addComponentAtIndex in interface com.vaadin.flow.component.HasComponents
    • addComponentAsFirst

      public void addComponentAsFirst(com.vaadin.flow.component.Component component)
      Specified by:
      addComponentAsFirst in interface com.vaadin.flow.component.HasComponents
    • getElement

      public com.vaadin.flow.dom.Element getElement()
      Specified by:
      getElement in interface com.vaadin.flow.component.HasElement