Package com.vaadin.ui
Interface TableFieldFactory
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultFieldFactory
public interface TableFieldFactory extends Serializable
Factory interface for creating new Field-instances based on Container (datasource), item id, property id and uiContext (the component responsible for displaying fields). Currently this interface is used byTable, but might later be used by some other components forFieldgeneration.- Since:
- 6.0
- Author:
- Vaadin Ltd.
- See Also:
FormFieldFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Field<?>createField(Container container, Object itemId, Object propertyId, Component uiContext)Creates a field based on the Container, item id, property id and the component responsible for displaying the field (most commonlyTable).
-
-
-
Method Detail
-
createField
Field<?> createField(Container container, Object itemId, Object propertyId, Component uiContext)
Creates a field based on the Container, item id, property id and the component responsible for displaying the field (most commonlyTable).- Parameters:
container- the Container where the property belongs to.itemId- the item Id.propertyId- the Id of the property.uiContext- the component where the field is presented.- Returns:
- A field suitable for editing the specified data or null if the property should not be editable.
-
-