aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/TableFieldFactory.java
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-05-11 14:34:10 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-05-11 14:34:10 +0000
commit064bc4fe71fa23c9e4a3758e8ff824aeb533686d (patch)
treefb14da2180bfe354ec5acb8cc6a5b19fc4f844b1 /src/com/vaadin/ui/TableFieldFactory.java
parent64d30355cd9f09ba0faff690fd798abc79533a8e (diff)
downloadvaadin-framework-064bc4fe71fa23c9e4a3758e8ff824aeb533686d.tar.gz
vaadin-framework-064bc4fe71fa23c9e4a3758e8ff824aeb533686d.zip
Split old FieldFactory into two smaller interfaces. #2499
svn changeset:7744/svn branch:6.0
Diffstat (limited to 'src/com/vaadin/ui/TableFieldFactory.java')
-rw-r--r--src/com/vaadin/ui/TableFieldFactory.java24
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);
+
+}