Interface WithHelperMixin<SELF extends com.vaadin.flow.component.HasHelper>

Type Parameters:
SELF - Self type.
All Superinterfaces:
com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasHelper, Serializable
All Known Implementing Classes:
AbstractSuperFloatingPointField, AbstractSuperNumberField, CollectionField, GridMultiSelect, GridSelect, HeaderFooterFieldWrapper, ItemGrid, LabelField, MapField, ObjectField, SuperBigDecimalField, SuperDatePicker, SuperDateTimePicker, SuperDoubleField, SuperIntegerField, SuperLongField, SuperTabs, SuperTextArea, SuperTextField, VariantField

public interface WithHelperMixin<SELF extends com.vaadin.flow.component.HasHelper> extends com.vaadin.flow.component.HasHelper
Marker interface to allow chaining HasHelper.
Since:
2020-10-12
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    default SELF
    withHelperComponent(com.vaadin.flow.component.Component component)
    Chains HasHelper.setHelperComponent(Component) and returns itself.
    default SELF
    withHelperText(String helperText)
    Chains HasHelper.setHelperText(String) and returns itself.

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

    getElement

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

    getHelperComponent, getHelperText, setHelperComponent, setHelperText
  • Method Details

    • withHelperText

      default SELF withHelperText(String helperText)
      Chains HasHelper.setHelperText(String) and returns itself.
      Parameters:
      helperText - Helper text to set.
      Returns:
      This.
      See Also:
      • HasHelper.setHelperText(String)
    • withHelperComponent

      default SELF withHelperComponent(com.vaadin.flow.component.Component component)
      Chains HasHelper.setHelperComponent(Component) and returns itself.
      Parameters:
      component - Helper component to use.
      Returns:
      This.
      See Also:
      • HasHelper.setHelperComponent(Component)