Class AutoFormContext
java.lang.Object
org.vaadin.firitin.rad.AutoFormContext
Experimental feature, API/naming might change.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription<T> AutoForm<T> createForm(Class<T> type) <T> AutoForm<T> createForm(T value) Disables the default bean validation.static List<PropertyPrinter> booleanbooleanvoidsetAnnotateTypes(boolean annotateTypes) voidwithPropertyEditor(Class<?> propertyType, Class<? extends com.vaadin.flow.component.HasValue> editorType) Registers a custom property editor that can be used to edit a property of a bean.withPropertyEditor(PropertyPrinter propertyEditor) Registers a custom property editor that can be used to edit a property of a bean. 
- 
Constructor Details
- 
AutoFormContext
public AutoFormContext() - 
AutoFormContext
 
 - 
 - 
Method Details
- 
getDefaultPropertyPrinters
 - 
isAnnotateTypes
public boolean isAnnotateTypes() - 
setAnnotateTypes
public void setAnnotateTypes(boolean annotateTypes)  - 
getPropertyPrinters
 - 
createForm
 - 
createForm
 - 
withPropertyEditor
public AutoFormContext withPropertyEditor(Class<?> propertyType, Class<? extends com.vaadin.flow.component.HasValue> editorType) Registers a custom property editor that can be used to edit a property of a bean. The editors are tried in order, first one that returns a non-null value is used. The given editor is added to the beginning of the list, so it is tried first.- Parameters:
 propertyType- the type of the property to editeditorType- the type of the editor to use, must be a subclass ofHasValue- Returns:
 - this for chaining
 
 - 
withPropertyEditor
Registers a custom property editor that can be used to edit a property of a bean. The editors are tried in order, first one that returns a non-null value is used. The given editor is added to the beginning of the list, so it is tried first.- Parameters:
 propertyEditor- the editor to add- Returns:
 - this for chaining
 
 - 
withPropertyHeaderPrinter
 - 
disableBeanValidation
Disables the default bean validation. By default, the bean validation is enabled if found from the classpath.- Returns:
 - this for chaining
 
 - 
isDefaultBeanValidation
public boolean isDefaultBeanValidation() - 
getLocale
 - 
setLocale
 - 
getHiddenProperties
 
 -