Interface WithPlaceholderMixin<SELF extends WithPlaceholderMixin<SELF>>

Type Parameters:
SELF - Self type.
All Superinterfaces:
com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasPlaceholder, Serializable
All Known Implementing Classes:
AbstractSuperFloatingPointField, AbstractSuperNumberField, SuperBigDecimalField, SuperDatePicker, SuperDoubleField, SuperIntegerField, SuperLongField, SuperTextArea, SuperTextField

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

    Modifier and Type
    Method
    Description
    default SELF
    withPlaceholder(String placeholder)
    Chains HasPlaceholder.setPlaceholder(String) and returns itself.

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

    getElement

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

    getPlaceholder, setPlaceholder
  • Method Details

    • withPlaceholder

      default SELF withPlaceholder(String placeholder)
      Chains HasPlaceholder.setPlaceholder(String) and returns itself.
      Parameters:
      placeholder - Placeholder to use.
      Returns:
      This.
      See Also:
      • HasPlaceholder.setPlaceholder(String)