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
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class com.vaadin.flow.component.ComponentEvent
isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
errors
-
-
Constructor Details
-
ValidationEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classcom.vaadin.flow.component.ComponentEvent<Screen<?>>
-
addErrors
-
getErrors
-