com.holonplatform.vaadin7.components.builders

## Interface ComponentBuilder<C extends com.vaadin.ui.Component,B extends ComponentBuilder<C,B>>

- Type Parameters:
    `C` - Concrete component type
    `B` - Concrete builder type
  All Superinterfaces:
    ComponentConfigurator<B>
  All Known Subinterfaces:
    BaseLayoutBuilder<C,B>, ButtonBuilder, ComponentContainerBuilder<C,B>, CssLayoutBuilder, Dialog.Builder<B>, Dialog.DialogBuilder, Dialog.QuestionDialogBuilder, FormLayoutBuilder, GridLayoutBuilder, HorizontalLayoutBuilder, ItemDataSourceComponentBuilder<ITEM,C,B>, ItemListingBuilder<T,P,C,B,X>, ItemListingBuilder.BaseGridItemListingBuilder<T,P,C,B>, ItemListingBuilder.BaseTableItemListingBuilder<T,P,C,B>, ItemListingBuilder.GridItemListingBuilder<T>, ItemListingBuilder.TableItemListingBuilder<T>, LabelBuilder, LayoutBuilder<C,B>, OrderedLayoutBuilder<C,B>, PanelBuilder, PropertyInputForm.PropertyInputFormBuilder<C>, PropertyListingBuilder<B,X>, PropertyListingBuilder.GridPropertyListingBuilder, PropertyListingBuilder.TablePropertyListingBuilder, PropertyViewForm.PropertyViewFormBuilder<C>, SingleComponentContainerBuilder<C,B>, VerticalLayoutBuilder, ViewComponentBuilder<T>

      public interface ComponentBuilder<C extends com.vaadin.ui.Component,B extends ComponentBuilder<C,B>>
      extends ComponentConfigurator<B>

  Base builder to create `Component`s.
  Since:
    5.0.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.vaadin7.components.builders.ComponentConfigurator

      `ComponentConfigurator.BaseComponentConfigurator`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `build()` Build and returns the component
    `B` | `deferLocalization()` Instructs the builder to resolve any message localization (for example component caption and description) only after the component is attached to parent layout.

    - ### Methods inherited from interface com.holonplatform.vaadin7.components.builders.ComponentConfigurator

      `caption, caption, caption, captionAsHtml, description, description, description, disabled, errorHandler, fullHeight, fullSize, fullWidth, height, height, heightUndefined, hidden, icon, id, immediate, notVisible, primaryStyleName, replaceStyleName, responsive, sizeUndefined, styleName, width, width, widthUndefined, withAttachListener, withContextClickListener, withData, withDetachListener, withShortcutListener`

- - ### Method Detail

    - #### deferLocalization

          B deferLocalization()

      Instructs the builder to resolve any message localization (for example component caption and description) only after the component is attached to parent layout. By default, localization is performed immediately during component building.
      Returns:
        this

    - #### build

          C build()

      Build and returns the component
      Returns:
        Component instance

Copyright © 2019 The Holon Platform. All rights reserved.