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.ui.
Interface TableFieldFactory
All Superinterfaces:
All Known Subinterfaces:
All Known Implementing Classes:
- extends Serializable
public interface TableFieldFactory
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 by Table
,
but might later be used by some other components for Field
generation.
Since:
6.0
Version:
6.8.18
Author:
Vaadin Ltd.
See Also:
Method Summary | |
---|---|
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 commonly Table ). |
Method Detail |
---|
createField
Field createField(Container container,
Object itemId,
Object propertyId,
Component uiContext)
- 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.
Creates a field based on the Container, item id, property id and the
component responsible for displaying the field (most commonly
Table
).