public static class MasterDetailScreen.ValidationEvent
extends java.util.EventObject
MasterDetailScreen.validateAdditionalRules(ValidationErrors)
call.
@Subscribe protected void onScreenValidation(ValidationEvent event) { ValidationErrors errors = performCustomValidation(); event.addErrors(errors); }
Constructor and Description |
---|
ValidationEvent(Screen source) |
Modifier and Type | Method and Description |
---|---|
void |
addErrors(ValidationErrors errors) |
ValidationErrors |
getErrors() |
Screen |
getSource() |
public ValidationEvent(Screen source)
public Screen getSource()
getSource
in class java.util.EventObject
public void addErrors(ValidationErrors errors)
public ValidationErrors getErrors()