diff options
author | Marko Gronroos <magi@vaadin.com> | 2016-07-25 00:00:36 +0300 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2016-08-05 10:19:47 +0300 |
commit | 4a4d05b0354829df86c4f106868d421dca349b34 (patch) | |
tree | db70be8fce2298dbf427775f07b1146e82c66e33 /documentation/components/components-twincolselect.asciidoc | |
parent | 3ea6a0087b140a13ed0685afa2ffe08a45b82719 (diff) | |
download | vaadin-framework-4a4d05b0354829df86c4f106868d421dca349b34.tar.gz vaadin-framework-4a4d05b0354829df86c4f106868d421dca349b34.zip |
Rescaled images in layout chapter. Various small formatting fixes. Updated history and other matters in introduction.
Change-Id: I0d5e76f7fb07f967dd04941a23e79dfb30049731
Diffstat (limited to 'documentation/components/components-twincolselect.asciidoc')
-rw-r--r-- | documentation/components/components-twincolselect.asciidoc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/documentation/components/components-twincolselect.asciidoc b/documentation/components/components-twincolselect.asciidoc index 310b85553a..cf0ed36e37 100644 --- a/documentation/components/components-twincolselect.asciidoc +++ b/documentation/components/components-twincolselect.asciidoc @@ -35,7 +35,8 @@ column captions with [methodname]#setLeftColumnCaption()# and [source, java] ---- -TwinColSelect<String> select = new TwinColSelect<>("Select Targets"); +TwinColSelect<String> select = + new TwinColSelect<>("Select Targets"); // Put some items in the select select.setItems("Mercury", "Venus", "Earth", "Mars", @@ -49,7 +50,8 @@ select.setSelection("Venus", "Earth", "Mars"); // Handle value changes select.onSelect(selectedItems -> - layout.addComponent(new Label("Selected: " + selectedItems))); + layout.addComponent( + new Label("Selected: " + selectedItems))); ---- See the http://demo.vaadin.com/book-examples-vaadin7/book#component.select.twincolselect.captions[on-line example, window="_blank"]. |