com.holonplatform.vaadin.flow.components.builders

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

- Type Parameters:
    `C` - Concrete configurator type
  All Known Subinterfaces:
    BaseTemporalInputConfigurator<D,C>, DateInputBuilder, DateInputConfigurator<C>, DateTimeInputBuilder, DateTimeInputConfigurator<C>, LocalDateInputBuilder, LocalDateInputConfigurator<C>, LocalDateTimeInputBuilder, LocalDateTimeInputConfigurator<C>, LocalTimeInputBuilder, LocalTimeInputConfigurator<C>, NumberInputBuilder<T>, NumberInputConfigurator<T,C>, PasswordInputBuilder, PasswordInputConfigurator<C>, SelectModeSingleSelectInputBuilder<T,ITEM,B>, SelectModeSingleSelectInputBuilder.DatastoreItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.DatastoreItemSelectModeSingleSelectInputConfigurator<T,ITEM,C>, SelectModeSingleSelectInputBuilder.DatastorePropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.DatastorePropertySelectModeSingleSelectInputConfigurator<T,C>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputConfigurator<T,ITEM,D,C>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputConfigurator<T,D,C>, SelectModeSingleSelectInputBuilder.ValidatableDatastoreItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ValidatableDatastorePropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.ValidatableItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.ValidatablePropertySelectModeSingleSelectInputBuilder<T>, StringAreaInputBuilder, StringAreaInputConfigurator<C>, StringInputBuilder, StringInputConfigurator<C>, ValidatableDateInputBuilder, ValidatableDateTimeInputBuilder, ValidatableLocalDateInputBuilder, ValidatableLocalDateTimeInputBuilder, ValidatableLocalTimeInputBuilder, ValidatableNumberInputBuilder<T>, ValidatablePasswordInputBuilder, ValidatableStringAreaInputBuilder, ValidatableStringInputBuilder

      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.