aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/test/java/com/vaadin/data/BinderSingleSelectTest.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove copyright headers from test code (#10770)Teemu Suo-Anttila2018-03-281-15/+0
|
* Update copyright year (#10761)Ilia Motornyi2018-03-271-1/+1
|
* Remove HasValue from GridPekka Hyvönen2016-11-101-6/+6
| | | | | | | | | | | | | | | | | | | Extracts grid single selection into separate class, which is an extension like in V7. Using an extension makes it possible to easily add multiselect and no-select modes back, and support custom selection models. Adds Grid:asSingleSelect() SingleSelect so that grid can be used as a Select in a binder. Removes all remaining references to SelectionModels in Listings. Renames SingleSelectionChangeEvent to SingleSelectionEvent, because then it is unified with selection listener and MultiSelectionEvent. Fixes vaadin/framework8-issues#424 Fixes vaadin/framework8-issues#425 Change-Id: Ie22bef29cfd4336c3f65d4e63531c578b8dd76a3
* Rename Binder methodsPekka Hyvönen2016-10-261-4/+4
| | | | | | | | | | | save -> writeBean, saveIfValid -> writeBeanIfValid, load -> readBean, bind -> setBean, unbind -> removeBean. Now setBean accepts null to reset the bean instead of throwing NPE. Closes vaadin/framework8-issues#91 Change-Id: I42cbad5856cac11a03bfcefd0fa91a02c41b7234
* Derive Listing components from HasValue.Denis Anisimov2016-10-211-4/+4
| | | | | | | Single select components implement HasValue<T> and mutliselect components implements HasValue<Set<T>>. Change-Id: Ic280a43bf021efd7425cce04e75010b6745fd698
* Implement support for binding single-select componentsJohannes Dahlström2016-09-141-0/+109
Change-Id: I340e802e5c8e6e036b54f81ec46beeb5e1c34329