com.holonplatform.vaadin.flow.components.builders

## Interface InputGroupConfigurator.BeanInputGroupConfigurator<T,G extends BoundComponentGroup<String,Input<?>>,C extends InputGroupConfigurator.BeanInputGroupConfigurator<T,G,C>>

- Type Parameters:
    `T` - Bean type
    `G` - Group type
    `C` - Concrete configurator type
  All Superinterfaces:
    ComponentGroupConfigurator<String,T,Input<?>,G,C>, InputGroupConfigurator<String,T,G,C>
  All Known Subinterfaces:
    BeanListingBuilder<T>, BeanListingBuilder.DatastoreBeanListingBuilder<T>, BeanListingConfigurator<T,C>
  Enclosing interface:
    InputGroupConfigurator<P,T,G extends BoundComponentGroup<P,Input<?>>,C extends InputGroupConfigurator<P,T,G,C>>

      public static interface InputGroupConfigurator.BeanInputGroupConfigurator<T,G extends BoundComponentGroup<String,Input<?>>,C extends InputGroupConfigurator.BeanInputGroupConfigurator<T,G,C>>
      extends InputGroupConfigurator<String,T,G,C>

  An `InputGroupConfigurator` bound to a bean `String` type property set.
  Since:
    5.2.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.vaadin.flow.components.builders.InputGroupConfigurator

      `InputGroupConfigurator.BeanInputGroupConfigurator<T,G extends BoundComponentGroup<String,Input<?>>,C extends InputGroupConfigurator.BeanInputGroupConfigurator<T,G,C>>, InputGroupConfigurator.PropertySetInputGroupConfigurator<G extends BoundComponentGroup<com.holonplatform.core.property.Property<?>,Input<?>>,C extends InputGroupConfigurator.PropertySetInputGroupConfigurator<G,C>>`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `defaultValue(String property, Supplier<Object> defaultValueProvider)` Set the default value provider for given `property`.
    `C` | `withValidator(String property, com.holonplatform.core.Validator<?> validator)` Adds a `Validator` to the `Input` bound to given `property`.
    `C` | `withValueChangeListener(String property, ValueHolder.ValueChangeListener<?,GroupValueChangeEvent<?,String,Input<?>,G>> listener)` Add a `ValueHolder.ValueChangeListener` to the `Input` bound to given `property`.

    - ### Methods inherited from interface com.holonplatform.vaadin.flow.components.builders.InputGroupConfigurator

      `enableRefreshOnValueChange, groupValidationStatusHandler, required, required, required, required, validationStatusHandler, validationStatusHandler, validationStatusLabel, withPostProcessor, withValidator`

    - ### Methods inherited from interface com.holonplatform.vaadin.flow.components.builders.ComponentGroupConfigurator

      `usePropertyRendererRegistry, withValueChangeListener`

- - ### Method Detail

    - #### defaultValue

          C defaultValue(String property,
                         Supplier<Object> defaultValueProvider)

      Set the default value provider for given `property`.
      Parameters:
        `property` - Property (not null)
        `defaultValueProvider` - The supplier to provide the property default value (not null)
      Returns:
        this

    - #### withValueChangeListener

          C withValueChangeListener(String property,
                                    ValueHolder.ValueChangeListener<?,GroupValueChangeEvent<?,String,Input<?>,G>> listener)

      Add a `ValueHolder.ValueChangeListener` to the `Input` bound to given `property`.
      Parameters:
        `property` - Property (not null)
        `listener` - The ValueChangeListener to add (not null)
      Returns:
        this

    - #### withValidator

          C withValidator(String property,
                          com.holonplatform.core.Validator<?> validator)

      Adds a `Validator` to the `Input` bound to given `property`.
      Parameters:
        `property` - The property (not null)
        `validator` - The validator to add (not null)
      Returns:
        this

Copyright © 2019 The Holon Platform. All rights reserved.