com.vaadin.data.fieldgroup
Interface FieldGroupFieldFactory
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DefaultFieldGroupFieldFactory
public interface FieldGroupFieldFactory
- extends java.io.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 |
|
createField(java.lang.Class<?> dataType,
java.lang.Class<T> fieldType)
Creates a field based on the data type that we want to edit |
createField
<T extends Field> T createField(java.lang.Class<?> dataType,
java.lang.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 to Field
then 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
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.