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 Summary

    Modifier and Type
    Method
    Description
    default SELF
    withHeaderComponents(com.vaadin.flow.component.Component... components)
    Adds given components to the header, if it is present.

    Methods inherited from interface org.vaadin.miki.superfields.layouts.HasHeader

    getHeader
  • Method Details

    • 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.