Interface EntityViewElementBuilderFactory<T extends com.foreach.across.modules.web.ui.ViewElementBuilder>

All Known Implementing Classes:
AutoSuggestFormElementBuilderFactory, CheckboxFormElementBuilderFactory, DateTimeFormElementBuilderFactory, EmbeddedCollectionOrMapElementBuilderFactory, EntityViewElementBuilderFactorySupport, FieldsetElementBuilderFactory, FilterFormGroupElementBuilderFactory, FormGroupElementBuilderFactory, HiddenFormElementBuilderFactory, LabelFormElementBuilderFactory, MultiValueElementBuilderFactory, NumericFormElementBuilderFactory, OptionsFormElementBuilderFactory, TextboxFormElementBuilderFactory, TextViewElementBuilderFactory, ToggleFormElementBuilderFactory

public interface EntityViewElementBuilderFactory<T extends com.foreach.across.modules.web.ui.ViewElementBuilder>
Author:
Arne Vandamme
  • Method Details

    • supports

      boolean supports(String viewElementType)
      View element type that this factory supports. It can create builders for these types.
      Parameters:
      viewElementType - Unique type string.
      Returns:
      True if it can create a builder factory for this element type.
    • createBuilder

      T createBuilder(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType)
      Create the actual builder.
      Parameters:
      propertyDescriptor - for which to create the builder
      viewElementMode - element mode
      viewElementType - requested type
      Returns:
      builder