summaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2016-09-27 12:26:15 +0300
committerDenis Anisimov <denis@vaadin.com>2016-09-28 12:59:52 +0000
commitc4b17ca879c0bb51c7da390fcbd25c96b73486fb (patch)
tree524833ebab1553534e3d4ff01cd0fa5cf58db3a7 /shared
parent96119ab0224421d69393d9d41ed02900121a683e (diff)
downloadvaadin-framework-c4b17ca879c0bb51c7da390fcbd25c96b73486fb.tar.gz
vaadin-framework-c4b17ca879c0bb51c7da390fcbd25c96b73486fb.zip
ListSelect with new data binding API8.0.0.alpha3
No single select mode for list select. Based on AbstractMultiSelect. Removes feature for adding new items. Change-Id: I9a92aaf1f3d338a3b05c3aa4048f9db496dacd1d
Diffstat (limited to 'shared')
-rw-r--r--shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java b/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java
new file mode 100644
index 0000000000..8999f3c739
--- /dev/null
+++ b/shared/src/main/java/com/vaadin/shared/ui/listselect/ListSelectState.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright 2000-2016 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.shared.ui.listselect;
+
+import com.vaadin.shared.annotations.DelegateToWidget;
+import com.vaadin.shared.ui.TabIndexState;
+
+/**
+ * Shared state for ListSelect component.
+ *
+ * @author Vaadin Ltd
+ *
+ */
+public class ListSelectState extends TabIndexState {
+ {
+ primaryStyleName = "v-select";
+ }
+ @DelegateToWidget
+ public int rows;
+}