com.holonplatform.vaadin.flow.components.builders

## Interface HasEnabledConfigurator<C extends HasEnabledConfigurator<C>>

- Type Parameters:
    `C` - Concrete configurator type
  All Known Subinterfaces:
    BaseDateInputBuilder<D,B>, BeanListingBuilder<T>, BeanListingBuilder.DatastoreBeanListingBuilder<T>, BeanListingConfigurator<T,C>, BooleanInputBuilder, ButtonBuilder, ButtonConfigurator<C>, ButtonConfigurator.BaseButtonConfigurator, ContextMenuConfigurator.MenuItemBuilder<L,M,B>, DateInputBuilder, DateTimeInputBuilder, FlexComponentConfigurator<C>, FormLayoutBuilder, FormLayoutConfigurator<C>, FormLayoutConfigurator.BaseFormLayoutConfigurator, HasComponentsConfigurator<C>, HorizontalLayoutBuilder, ItemListingBuilder<T,P,L,B>, ItemListingConfigurator<T,P,L,C>, LabelBuilder<L>, LabelConfigurator<L,C>, LabelConfigurator.BaseLabelConfigurator<L>, LocalDateInputBuilder, LocalDateTimeInputBuilder, LocalTimeInputBuilder, MultiSelectInputBuilder<T,ITEM,B>, NativeButtonBuilder, 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, PropertyListingBuilder, PropertyListingBuilder.DatastorePropertyListingBuilder, PropertyListingConfigurator<C>, SelectableInputConfigurator<T,S,C>, SelectModeSingleSelectInputBuilder<T,ITEM,B>, SelectModeSingleSelectInputBuilder.DatastoreItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.DatastorePropertySelectModeSingleSelectInputBuilder<T>, SelectModeSingleSelectInputBuilder.ItemSelectModeSingleSelectInputBuilder<T,ITEM>, SelectModeSingleSelectInputBuilder.PropertySelectModeSingleSelectInputBuilder<T>, SingleSelectInputBuilder<T,ITEM,B>, StringAreaInputBuilder, StringInputBuilder, TextInputConfigurator<C>, ThemableFlexComponentConfigurator<C>, ThemableFlexComponentConfigurator.HorizontalLayoutConfigurator, ThemableFlexComponentConfigurator.VerticalLayoutConfigurator, VerticalLayoutBuilder, ViewComponentBuilder<T>

      public interface HasEnabledConfigurator<C extends HasEnabledConfigurator<C>>

  Configurator for `HasEnabled` type components.
  Since:
    5.2.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default C` | `disabled()` Set the component as not enabled.
    `C` | `enabled(boolean enabled)` Set whether the component is enabled.

- - ### Method Detail

    - #### enabled

          C enabled(boolean enabled)

      Set whether the component is enabled.
      Parameters:
        `enabled` - if `false` then explicitly disables the object, if `true` then enables the object so that its state depends on parent
      Returns:
        this

    - #### disabled

          default C disabled()

      Set the component as not enabled.
      Returns:
        this
      See Also:
        `enabled(boolean)`

Copyright © 2019 The Holon Platform. All rights reserved.