aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/main/java/com/vaadin/data/ValidationStatus.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove usage of Consumer from event listeners (#7985)Pekka Hyvönen2016-12-141-194/+0
| | | | | | | | | | | | | Touched event listeners are: - SelectionListener - MultiSelectionListener - SingleSelectionListener - ValueChangeListener - ItemClickListener - BindingValidationStatusHandler - BinderValidationStatusHandler - StatusChangeListener Part of vaadin/framework8-issues#264
* Separate Binding and BindingBuilder (#80)Leif Åstrand2016-12-051-3/+5
| | | | | BindingBinder is API that is used before calling bind() Binding is API that is used after calling bind()
* Simplify Binding API by removing the FIELDTYPE type parameterLeif Åstrand2016-11-291-5/+5
| | | | | | | | | | The type parameter is mainly used internally, the only externally facing use is to define the exact type of Binding.getField. Code that has access to a typed instance of Binding does typically also have direct access to the field instance, so there's no real use for the type parameter. Change-Id: Idf2ab18a79ec5f0a7cef83705b8084fbf7014c10
* Introduces ValidationResult interface to replace Result in validators.Denis Anisimov2016-11-011-7/+11
| | | | | | Fixes vaadin/framework8-issues#414 Change-Id: I2d4e101f29542fadfdd30ce63455a0e078e0e735
* Fix inconsistent API naming in Binder and remove unused handlerPekka Hyvönen2016-09-131-4/+4
| | | | | | Mostly based on comments on a previous patch that was merged. Change-Id: I146995853b3318d89061f1d06ab4bbd859168661
* Clear binder errors after load/bindPekka Hyvönen2016-09-131-3/+30
| | | | | | | Adds an unresolved validation status to make it possible to clear visible field validation errors, even if status is not yet valid. Change-Id: I227a8802b6a71be1533dc903bad1a8e2faef5ed2
* Refactor Binder Status Handling APIPekka Hyvönen2016-09-121-10/+136
| | | | | | | | | | | BinderStatusHandler is now triggered only once per validation. Unified ValidationError and BinderResult into BinderValidationStatus. Renamed ValidationStatusChangeEvent into ValidationStatus. Unified handler names for validation status. Next patch will fix resetting of field errors on reset. Change-Id: I9536d554d781fe599fbd7e5bcb5a9ffebe675ca0
* Update copyright year to 2016Artur Signell2016-08-181-1/+1
| | | | Change-Id: I6485dee1ebba12b180a9063ed4b530f7dc63cd77
* Remove trailing whitespace from code and javadocArtur Signell2016-08-181-2/+2
| | | | Change-Id: I4c852b7f9928e190572876690d5bef1234494a5d
* Binding.withStatusChangeHandler and Binding.withStatusLabel (#30).Denis Anisimov2016-08-171-0/+35
Change-Id: Iecd8bd88d94b98829dfaec43b8635b1e93df330f