diff options
author | Aleksi Hietanen <aleksi@vaadin.com> | 2016-08-08 13:41:56 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-08-17 07:31:03 +0000 |
commit | a5575a9252f4e502624079c65c7080e741846692 (patch) | |
tree | 739061425eef0a9ce3e1de714b5590300b1eb4fd /server/src/test/java/com/vaadin/data/BinderTest.java | |
parent | 93d7a0d962d100ee807089a76d57d0621a238108 (diff) | |
download | vaadin-framework-a5575a9252f4e502624079c65c7080e741846692.tar.gz vaadin-framework-a5575a9252f4e502624079c65c7080e741846692.zip |
Update TextField to extend AbstractFieldNew (#51)
- Changes input prompt to be based on the placeholder attribute.
- Unifies TextChangeEvents with ValueChangeEvents.
- add*Listener methods now return Registration objects, remove*Listener methods removed.
Change-Id: Ie92506ae9db205bb0010ae9126c608c62ad023ff
Diffstat (limited to 'server/src/test/java/com/vaadin/data/BinderTest.java')
-rw-r--r-- | server/src/test/java/com/vaadin/data/BinderTest.java | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/server/src/test/java/com/vaadin/data/BinderTest.java b/server/src/test/java/com/vaadin/data/BinderTest.java index d916eb4ffe..b8b7d21cd3 100644 --- a/server/src/test/java/com/vaadin/data/BinderTest.java +++ b/server/src/test/java/com/vaadin/data/BinderTest.java @@ -18,25 +18,10 @@ import com.vaadin.server.AbstractErrorMessage; import com.vaadin.server.ErrorMessage; import com.vaadin.server.UserError; import com.vaadin.tests.data.bean.Person; -import com.vaadin.ui.AbstractField; +import com.vaadin.ui.TextField; public class BinderTest { - class TextField extends AbstractField<String> { - - String value = ""; - - @Override - public String getValue() { - return value; - } - - @Override - protected void doSetValue(String value) { - this.value = value; - } - } - private static class StatusBean { private String status; |