We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.data.fieldgroup.
Interface FieldGroupFieldFactory
-
All Superinterfaces:
All Known Implementing Classes:
public interface FieldGroupFieldFactory extends Serializable
Factory interface for creating new Field-instances based on the data type that should be edited.
Since:
7.0
Author:
Vaadin Ltd.
-
-
Method Summary
All Methods Modifier and Type Method Description <T extends Field>
TcreateField​(Class<?> dataType, Class<T> fieldType)
Creates a field based on the data type that we want to edit
-
-
-
Method Detail
-
createField
<T extends Field> T createField​(Class<?> dataType, Class<T> fieldType)
Creates a field based on the data type that we want to edit
Parameters:
dataType
- The type that we want to edit using the fieldfieldType
- The type of field we want to create. If set toField
then any type of field is acceptedReturns:
A field that can be assigned to the given fieldType and that is capable of editing the given type of data
-
-