Package com.vaadin.flow.data.binder
Interface BinderValidationStatusHandler<BEAN>
-
- Type Parameters:
BEAN
- the bean type of binder
- 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 BinderValidationStatusHandler<BEAN> extends SerializableEventListener
Handler forBinderValidationStatus
changes.Register
an instance of this class to be able to customize validation status handling.error message} for failed field validations. For bean level validation errors the default handler will display the first error message in
status label
, if one has been set.- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
BinderValidationStatus
,Binder.validate()
,BindingValidationStatus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
statusChange(BinderValidationStatus<BEAN> statusChange)
Invoked when the validation status has changed in binder.
-
-
-
Method Detail
-
statusChange
void statusChange(BinderValidationStatus<BEAN> statusChange)
Invoked when the validation status has changed in binder.- Parameters:
statusChange
- the changed status
-
-