Package com.vaadin.data
Interface BindingValidationStatusHandler
-
- All Superinterfaces:
EventListener,Serializable,SerializableEventListener
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BindingValidationStatusHandler extends SerializableEventListener
Handler forBindingValidationStatuschanges.Binder.BindingBuilder.withValidationStatusHandler(BindingValidationStatusHandler)Register} an instance of this class to be able to override the default handling, which is to showan error messagefor failed field validations.- Since:
- 8.0
- Author:
- Vaadin Ltd
- See Also:
Binder.BindingBuilder.withValidationStatusHandler(BindingValidationStatusHandler),BindingValidationStatus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstatusChange(BindingValidationStatus<?> statusChange)Invoked when the validation status has changed in a binding.
-
-
-
Method Detail
-
statusChange
void statusChange(BindingValidationStatus<?> statusChange)
Invoked when the validation status has changed in a binding.- Parameters:
statusChange- the changed status
-
-