Package io.jmix.ui.screen
Class MasterDetailScreen.ValidationEvent
java.lang.Object
java.util.EventObject
io.jmix.ui.screen.MasterDetailScreen.ValidationEvent
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MasterDetailScreen<T>
Event sent when screen is validated from
Use this event listener to perform additional screen validation, for example:
MasterDetailScreen.validateAdditionalRules(ValidationErrors) 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
Constructors -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ValidationEvent
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
addErrors
-
getErrors
-