Interface FluentHasComponents<S extends FluentHasComponents<S>>

All Superinterfaces:
com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, Serializable
All Known Subinterfaces:
FluentHtmlContainer<S>
All Known Implementing Classes:
ConfirmationDialog, VAnchor, VArticle, VAside, VDescriptionList, VDialog, VDiv, VEmphasis, VFlexLayout, VFooter, VFormLayout, VH1, VH2, VH3, VH4, VH5, VH6, VHeader, VHorizontalLayout, VHr, VImage, VLabel, VListItem, VMain, VNativeButton, VNav, VNotification, VOrderedList, VParagaph, VSection, VSelect, VSpan, VTab, VTabs, VUnorderedList, VVerticalLayout

public interface FluentHasComponents<S extends FluentHasComponents<S>> extends com.vaadin.flow.component.HasComponents
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T extends com.vaadin.flow.component.Component>
    Optional<T>
    navigate(Class<T> navigationTarget)
    Navigates the UI of this component to the view corresponding to the given navigation target.
    default S
    withComponentAsFirst(com.vaadin.flow.component.Component component)
     
    default S
    withComponentAtIndex(int index, com.vaadin.flow.component.Component component)
     
    default S
    withComponents(com.vaadin.flow.component.Component... components)
     

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

    add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll

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

    getElement

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

    isEnabled, setEnabled
  • Method Details

    • withComponents

      default S withComponents(com.vaadin.flow.component.Component... components)
    • withComponentAsFirst

      default S withComponentAsFirst(com.vaadin.flow.component.Component component)
    • withComponentAtIndex

      default S withComponentAtIndex(int index, com.vaadin.flow.component.Component component)