diff options
Diffstat (limited to 'src/com/vaadin/ui/TableFieldFactory.java')
-rw-r--r-- | src/com/vaadin/ui/TableFieldFactory.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/TableFieldFactory.java b/src/com/vaadin/ui/TableFieldFactory.java new file mode 100644 index 0000000000..5acd6869ba --- /dev/null +++ b/src/com/vaadin/ui/TableFieldFactory.java @@ -0,0 +1,24 @@ +package com.vaadin.ui; + +import java.io.Serializable; + +import com.vaadin.data.Container; + +public interface TableFieldFactory extends Serializable { + /** + * Creates a field based on the container item id and property id. + * + * @param container + * the Container where the property belongs to. + * @param itemId + * the item Id. + * @param propertyId + * the Id of the property. + * @param uiContext + * the component where the field is presented. + * @return Field the field suitable for editing the specified data. + */ + Field createField(Container container, Object itemId, Object propertyId, + Component uiContext); + +} |