Package io.jmix.ui.screen
Class StandardEditor.ValidationEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.screen.StandardEditor.ValidationEvent
- All Implemented Interfaces:
 Serializable
- Enclosing class:
 - StandardEditor<T>
 
Event sent when screen is validated from 
Use this event listener to perform additional screen validation, for example:
StandardEditor.validateAdditionalRules(ValidationErrors) call.
 Use this event listener to perform additional screen validation, for example:
     @Subscribe
     protected void onScreenValidation(ValidationEvent event) {
          if (!checkNameFormat()) {
             ValidationErrors errors = new ValidationErrors();
             errors.add(nameField, "Invalid name format");
             event.addErrors(errors);
         }
     }
 - See Also:
 
- 
Field Summary
Fields inherited from class java.util.EventObject
source - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.util.EventObject
toString 
- 
Constructor Details
- 
ValidationEvent
 
 - 
 - 
Method Details
- 
getSource
- Overrides:
 getSourcein classEventObject
 - 
addErrors
 - 
getErrors
 
 -