com.holonplatform.vaadin.flow.components.builders

## Interface HasLabelConfigurator<C extends HasLabelConfigurator<C>>

- Type Parameters:
    `C` - Concrete configurator type
  All Known Subinterfaces:
    BaseDateInputBuilder<D,B>, BooleanInputBuilder, DateInputBuilder, DateTimeInputBuilder, LocalDateInputBuilder, LocalDateTimeInputBuilder, LocalTimeInputBuilder, NumberInputBuilder<T>, OptionsModeMultiSelectInputBuilder<T,ITEM,B>, OptionsModeMultiSelectInputBuilder.DatastoreItemOptionsModeMultiSelectInputBuilder<T,ITEM>, OptionsModeMultiSelectInputBuilder.DatastorePropertyOptionsModeMultiSelectInputBuilder<T>, OptionsModeMultiSelectInputBuilder.ItemOptionsModeMultiSelectInputBuilder<T,ITEM>, OptionsModeMultiSelectInputBuilder.PropertyOptionsModeMultiSelectInputBuilder<T>, OptionsModeSingleSelectInputBuilder<T,ITEM,B>, OptionsModeSingleSelectInputBuilder.DatastoreItemOptionsModeSingleSelectInputBuilder<T,ITEM>, OptionsModeSingleSelectInputBuilder.DatastorePropertyOptionsModeSingleSelectInputBuilder<T>, OptionsModeSingleSelectInputBuilder.ItemOptionsModeSingleSelectInputBuilder<T,ITEM>, OptionsModeSingleSelectInputBuilder.PropertyOptionsModeSingleSelectInputBuilder<T>, PasswordInputBuilder, SelectModeSingleSelectInputBuilder<T,ITEM,B>, SelectModeSingleSelectInputBuilder.DatastoreItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.DatastorePropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputBuilder<T>, StringAreaInputBuilder, StringInputBuilder, ViewComponentBuilder<T>

      public interface HasLabelConfigurator<C extends HasLabelConfigurator<C>>

  Configurator for `HasLabel` type components.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `label(com.holonplatform.core.i18n.Localizable label)` Sets the label text using a `Localizable` message.
    `default C` | `label(String label)` Sets the label text, replacing any previous content.
    `default C` | `label(String defaultLabel, String messageCode, Object... arguments)` Sets the label text using a localizable `messageCode`.

- - ### Method Detail

    - #### label

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

      Sets the label text using a `Localizable` message.

      The text value is interpred as plain text and the HTML markup is not supported.

      A `null` value is interpreted as an empty text.

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

    - #### label

          default C label(String label)

      Sets the label text, replacing any previous content.

      The text value is interpred as plain text and the HTML markup is not supported.

      A `null` text value is interpreted as an empty text.

      Parameters:
        `label` - The label text to set
      Returns:
        this

    - #### label

          default C label(String defaultLabel,
                          String messageCode,
                          Object... arguments)

      Sets the label text using a localizable `messageCode`.

      The text value is interpred as plain text and the HTML markup is not supported.

      Parameters:
        `defaultLabel` - Default label text if no translation is available for given `messageCode`
        `messageCode` - Label text translation message key
        `arguments` - Optional translation arguments
      Returns:
        this
      See Also:
        `LocalizationProvider`

Copyright © 2019 The Holon Platform. All rights reserved.