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 Summary
Modifier and TypeMethodDescriptioncreateBuilder
(EntityPropertyDescriptor propertyDescriptor, ViewElementMode viewElementMode, String viewElementType) Create the actual builder.boolean
View element type that this factory supports.
-
Method Details
-
supports
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 builderviewElementMode
- element modeviewElementType
- requested type- Returns:
- builder
-