summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/AbstractSelect.java
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-02-08 14:18:08 +0200
committerHenri Sara <hesara@vaadin.com>2012-02-08 14:18:08 +0200
commita062383b16cc1394baa604a0841416d646e91fba (patch)
treefa7d04736ebde85618c1dd62c91a9de271512aa3 /src/com/vaadin/ui/AbstractSelect.java
parent2bb7aae1c0cd44ad1ca260dec70b3225c8a226ac (diff)
downloadvaadin-framework-a062383b16cc1394baa604a0841416d646e91fba.tar.gz
vaadin-framework-a062383b16cc1394baa604a0841416d646e91fba.zip
Remove support for Select in multi-select mode (#8169, #8326).
Also includes some related cleanup as this was the last special case where the widget was selected on the client side based on UIDL fields other than tag.
Diffstat (limited to 'src/com/vaadin/ui/AbstractSelect.java')
-rw-r--r--src/com/vaadin/ui/AbstractSelect.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/vaadin/ui/AbstractSelect.java b/src/com/vaadin/ui/AbstractSelect.java
index 5e086f0b8d..47f132aa77 100644
--- a/src/com/vaadin/ui/AbstractSelect.java
+++ b/src/com/vaadin/ui/AbstractSelect.java
@@ -976,10 +976,13 @@ public abstract class AbstractSelect extends AbstractField<Object> implements
}
/**
- * Sets the multiselect mode. Setting multiselect mode false may loose
+ * Sets the multiselect mode. Setting multiselect mode false may lose
* selection information: if selected items set contains one or more
* selected items, only one of the selected items is kept as selected.
*
+ * Subclasses of AbstractSelect can choose not to support changing the
+ * multiselect mode, and may throw {@link UnsupportedOperationException}.
+ *
* @param multiSelect
* the New value of property multiSelect.
*/