public interface InteractiveError
InteractiveErrors provide a link between a ValidationResult and a UI-control.
| Modifier and Type | Method and Description |
|---|---|
FxControl |
getControl()
Gets the related FX control.
|
String |
getErrorCode()
Gets the optional error code.
|
String |
getText()
Gets the error message.
|
org.tentackle.validate.ValidationResult |
getValidationResult()
Gets the optional validation result.
|
boolean |
isWarning()
Returns whether this is just a warning.
|
void |
showControl()
Shows the control to the user.
The default implementation requests the focus. |
boolean isWarning()
String getText()
String getErrorCode()
FxControl getControl()
void showControl()
Applications may override this method to switch tabs, point to rows in tables, etc...
org.tentackle.validate.ValidationResult getValidationResult()
Tentackle - distributed, domain- and model-driven