Package io.jmix.flowui.screen
Class StandardEditor.ValidationEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Screen<?>>
io.jmix.flowui.screen.StandardEditor.ValidationEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- StandardEditor<T>
public static class StandardEditor.ValidationEvent
extends com.vaadin.flow.component.ComponentEvent<Screen<?>>
Event sent when screen is validated from
Use this event listener to perform additional screen validation, for example:
StandardEditor.validateAdditionalRules() call.
Use this event listener to perform additional screen validation, for example:
@Subscribe
protected void onScreenValidation(ValidationEvent event) {
ValidationErrors errors = performCustomValidation();
event.addErrors(errors);
}
- See Also:
-
Field Summary
FieldsFields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
isFromClient, unregisterListenerMethods inherited from class java.util.EventObject
toString
-
Field Details
-
errors
-
-
Constructor Details
-
ValidationEvent
-
-
Method Details
-
getSource
- Overrides:
getSourcein classcom.vaadin.flow.component.ComponentEvent<Screen<?>>
-
addErrors
-
getErrors
-