Package com.vaadin.flow.component.dialog
Class Dialog.DialogHeader
java.lang.Object
com.vaadin.flow.component.dialog.Dialog.DialogHeader
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Dialog
Class for adding and removing components to the header part of a dialog.
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(com.vaadin.flow.component.Component... components) Adds the given components to the container.voidremove(com.vaadin.flow.component.Component... components) Removes the given components from the container.voidRemoves all components from the container.
-
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.
-