Interface HasPlaceholder

All Superinterfaces:
com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasPlaceholder, Serializable
All Known Implementing Classes:
EntityPicker, JmixMultiValuePicker, JmixValuePicker, MenuFilterField, MultiValuePicker, SearchField, ValuePicker, ValuePickerBase

@Deprecated(since="2.2", forRemoval=true) public interface HasPlaceholder extends com.vaadin.flow.component.HasPlaceholder
Deprecated, for removal: This API element is subject to removal in a future version.
use HasPlaceholder instead.
A component which supports a placeholder.

A placeholder is a text that should be displayed in the input element, when the user has not entered a value.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Deprecated, for removal: This API element is subject to removal in a future version.
    default void
    setPlaceholder(String placeholder)
    Deprecated, for removal: This API element is subject to removal in a future version.

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

    getElement
  • Field Details

    • PLACEHOLDER_PROPERTY_NAME

      static final String PLACEHOLDER_PROPERTY_NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • getPlaceholder

      @Nullable default String getPlaceholder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getPlaceholder in interface com.vaadin.flow.component.HasPlaceholder
    • setPlaceholder

      default void setPlaceholder(@Nullable String placeholder)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      setPlaceholder in interface com.vaadin.flow.component.HasPlaceholder