com.holonplatform.vaadin.flow.components.builders

## Interface HasPlaceholderConfigurator<C extends HasPlaceholderConfigurator<C>>

- Type Parameters:
    `C` - Concrete configurator type
  All Known Subinterfaces:
    BaseDateInputBuilder<D,B>, DateInputBuilder, DateTimeInputBuilder, LocalDateInputBuilder, LocalDateTimeInputBuilder, LocalTimeInputBuilder, NumberInputBuilder<T>, PasswordInputBuilder, SelectModeSingleSelectInputBuilder<T,ITEM,B>, SelectModeSingleSelectInputBuilder.DatastoreItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.DatastorePropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputBuilder<T>, StringAreaInputBuilder, StringInputBuilder

      public interface HasPlaceholderConfigurator<C extends HasPlaceholderConfigurator<C>>

  Configurator for components which support a placeholder.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `placeholder(com.holonplatform.core.i18n.Localizable placeholder)` Sets the placeholder text using a `Localizable` message.
    `default C` | `placeholder(String placeholder)` Set the component placeholder, i.e. a hint to the user of what can be entered in the control.
    `default C` | `placeholder(String defaultPlaceholder, String messageCode, Object... arguments)` Sets the placeholder text using a localizable `messageCode`.

- - ### Method Detail

    - #### placeholder

          C placeholder(com.holonplatform.core.i18n.Localizable placeholder)

      Sets the placeholder text using a `Localizable` message.

      The placeholder is a hint to the user of what can be entered in the control.

      Parameters:
        `placeholder` - Localizable placeholder text (may be null)
      Returns:
        this
      See Also:
        `LocalizationProvider`

    - #### placeholder

          default C placeholder(String placeholder)

      Set the component placeholder, i.e. a hint to the user of what can be entered in the control.
      Parameters:
        `placeholder` - the value to set
      Returns:
        this

    - #### placeholder

          default C placeholder(String defaultPlaceholder,
                                String messageCode,
                                Object... arguments)

      Sets the placeholder text using a localizable `messageCode`.

      The placeholder is a hint to the user of what can be entered in the control.

      Parameters:
        `defaultPlaceholder` - Default placeholder text if no translation is available for given `messageCode`
        `messageCode` - Placeholder text translation message key
        `arguments` - Optional translation arguments
      Returns:
        this
      See Also:
        `LocalizationProvider`

Copyright © 2019 The Holon Platform. All rights reserved.