Interface WithHeaderComponentsMixin<H extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents,​SELF extends HasHeader<H>>

  • Type Parameters:
    H - Header type.
    SELF - Self type.
    All Superinterfaces:
    HasHeader<H>
    All Known Implementing Classes:
    HeaderFooterFieldWrapper, HeaderFooterLayoutWrapper

    public interface WithHeaderComponentsMixin<H extends com.vaadin.flow.component.Component & com.vaadin.flow.component.HasComponents,​SELF extends HasHeader<H>>
    extends HasHeader<H>
    Mixin for adding components to a header.
    Since:
    2021-09-15
    Author:
    miki
    • Method Detail

      • withHeaderComponents

        default SELF withHeaderComponents​(com.vaadin.flow.component.Component... components)
        Adds given components to the header, if it is present.
        Parameters:
        components - Components to add.
        Returns:
        This.