Package com.vaadin.ui
Interface FormFieldFactory
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultFieldFactory
@Deprecated public interface FormFieldFactory extends Serializable
Deprecated.As of 7.0, useFieldGroup
instead ofForm
for more flexibility.Factory interface for creating new Field-instances based onItem
, property id and uiContext (the component responsible for displaying fields). Currently this interface is used byForm
, but might later be used by some other components forField
generation.- Since:
- 6.0
- Author:
- Vaadin Ltd.
- See Also:
TableFieldFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Field<?>
createField(Item item, Object propertyId, Component uiContext)
Deprecated.Creates a field based on the item, property id and the component (most commonlyForm
) where the Field will be presented.
-
-
-
Method Detail
-
createField
Field<?> createField(Item item, Object propertyId, Component uiContext)
Deprecated.Creates a field based on the item, property id and the component (most commonlyForm
) where the Field will be presented.- Parameters:
item
- the item where the property belongs to.propertyId
- the Id of the property.uiContext
- the component where the field is presented, most commonly this isForm
. uiContext will not necessary be the parent component of the field, but the one that is responsible for creating it.- Returns:
- the field suitable for editing the specified data.
-
-