Interface WithLabelMixin<SELF extends WithLabelMixin<SELF>>

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

public interface WithLabelMixin<SELF extends WithLabelMixin<SELF>> extends com.vaadin.flow.component.HasLabel
Mixin interface to support chaining HasLabel.setLabel(String).
Since:
2020-04-12
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    default SELF
    Chains HasLabel.setLabel(String) and returns itself.

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

    getElement

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

    getLabel, setLabel
  • Method Details

    • withLabel

      default SELF withLabel(String label)
      Chains HasLabel.setLabel(String) and returns itself.
      Parameters:
      label - Label to set.
      Returns:
      This.
      See Also:
      • HasLabel.setLabel(String)