Interface FieldGroupFieldFactory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultFieldGroupFieldFactory,FGrid.EditorFieldFactory
Factory interface for creating new Field-instances based on the data type
that should be edited.
- Since:
- 7.0
- Author:
- Vaadin Ltd.
-
Method Summary
Modifier and TypeMethodDescription<T extends Field>
TcreateField(Class<?> dataType, Class<T> fieldType) Creates a field based on the data type that we want to edit
-
Method Details
-
createField
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 toFieldthen any type of field is accepted- Returns:
- A field that can be assigned to the given fieldType and that is capable of editing the given type of data
-