summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2011-12-23 11:02:21 +0200
committerArtur Signell <artur@vaadin.com>2011-12-23 11:45:44 +0200
commit86b9c8e10fb2230f70f63cf716213ad433bd1acc (patch)
treec00855fe646412355bb153dd4bf7141e878f2506 /src
parentd32c3d2921ed874baa29e333c3811e8cb85e474e (diff)
downloadvaadin-framework-86b9c8e10fb2230f70f63cf716213ad433bd1acc.tar.gz
vaadin-framework-86b9c8e10fb2230f70f63cf716213ad433bd1acc.zip
Deprecated Form. Use FieldGroup instead.
Diffstat (limited to 'src')
-rw-r--r--src/com/vaadin/ui/Form.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/vaadin/ui/Form.java b/src/com/vaadin/ui/Form.java
index d078c2103a..47210e1aed 100644
--- a/src/com/vaadin/ui/Form.java
+++ b/src/com/vaadin/ui/Form.java
@@ -17,6 +17,7 @@ import com.vaadin.data.Property;
import com.vaadin.data.Validatable;
import com.vaadin.data.Validator;
import com.vaadin.data.Validator.InvalidValueException;
+import com.vaadin.data.fieldgroup.FieldGroup;
import com.vaadin.data.util.BeanItem;
import com.vaadin.event.Action;
import com.vaadin.event.Action.Handler;
@@ -58,9 +59,12 @@ import com.vaadin.terminal.gwt.client.ui.VForm;
* @version
* @VERSION@
* @since 3.0
+ * @deprecated Use {@link FieldGroup} instead of {@link Form} for more
+ * flexibility.
*/
@SuppressWarnings("serial")
@ClientWidget(VForm.class)
+@Deprecated
public class Form extends AbstractField<Object> implements Item.Editor,
Buffered, Item, Validatable, Action.Notifier {