aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/ui/ComboBox.java
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2016-10-19 14:54:33 +0300
committerDenis Anisimov <denis@vaadin.com>2016-10-25 10:19:36 +0300
commit63d218efc0ee5825633b4950e3355f4e8cc7bc29 (patch)
treeb43fc989aded9041b3894714105ce43385798064 /server/src/main/java/com/vaadin/ui/ComboBox.java
parent862270140d287aba33dce03dc963db4421ebeb1a (diff)
downloadvaadin-framework-63d218efc0ee5825633b4950e3355f4e8cc7bc29.tar.gz
vaadin-framework-63d218efc0ee5825633b4950e3355f4e8cc7bc29.zip
Fix setValue() methods behavior null argument value + javadocs
Change-Id: I0000c1caf7c129634473161fe4876931f3c8dabf
Diffstat (limited to 'server/src/main/java/com/vaadin/ui/ComboBox.java')
-rw-r--r--server/src/main/java/com/vaadin/ui/ComboBox.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/src/main/java/com/vaadin/ui/ComboBox.java b/server/src/main/java/com/vaadin/ui/ComboBox.java
index 9ebc035c12..5c40a744f7 100644
--- a/server/src/main/java/com/vaadin/ui/ComboBox.java
+++ b/server/src/main/java/com/vaadin/ui/ComboBox.java
@@ -548,6 +548,13 @@ public class ComboBox<T> extends AbstractSingleSelect<T> implements HasValue<T>,
this.filter = filter;
}
+ /**
+ * Sets the value of this object. If the new value is not equal to
+ * {@code getValue()}, fires a {@link ValueChangeEvent}.
+ *
+ * @param value
+ * the new value, may be {@code null}
+ */
@Override
public void setValue(T value) {
getSelectionModel().setSelectedFromServer(value);