From 99d6de546c74f0eed230ea8253dda6b85109d2e7 Mon Sep 17 00:00:00 2001 From: Markus Koivisto Date: Fri, 22 Jan 2016 14:55:18 +0200 Subject: Add documentation to master branch Change-Id: I2504bb10f1ae73ec0cbc08b7ba5a88925caa1674 --- .../components/components-selection.asciidoc | 464 +++++++++++++++++++++ 1 file changed, 464 insertions(+) create mode 100644 documentation/components/components-selection.asciidoc (limited to 'documentation/components/components-selection.asciidoc') diff --git a/documentation/components/components-selection.asciidoc b/documentation/components/components-selection.asciidoc new file mode 100644 index 0000000000..5ad422555d --- /dev/null +++ b/documentation/components/components-selection.asciidoc @@ -0,0 +1,464 @@ +--- +title: Selection Components +order: 5 +layout: page +--- + +[[components.selection]] += Selection Components + +Vaadin offers many alternative ways for selecting one or more items. The core +library includes the following selection components, all based on the +[classname]#AbstractSelect# class: + +[classname]#ComboBox# (Section <>):: A drop-down list with a text box, where the user can type text to find matching items. The component also provides an input prompt and the user can enter new items. +[classname]#ListSelect# (Section <>):: A vertical list box for selecting items in either single or multiple selection mode. +[classname]#NativeSelect# (Section<>):: Provides selection using the native selection component of the browser, typically a drop-down list for single selection and a multi-line list in multiselect mode. This uses the [literal]#++