public interface InteractiveErrorFactory
| Modifier and Type | Method and Description |
|---|---|
InteractiveError |
createInteractiveError(boolean warning,
String text,
String errorCode,
org.tentackle.validate.ValidationResult validationResult,
FxControl control)
Creates an interactive error explicitly.
|
InteractiveError |
createInteractiveError(TreeSet<org.tentackle.validate.ValidationMapper> mappers,
org.tentackle.bind.Binder binder,
org.tentackle.validate.ValidationResult validationResult)
Creates an interactive error from a validation result.
|
static InteractiveErrorFactory |
getInstance()
The singleton.
|
static InteractiveErrorFactory getInstance()
InteractiveError createInteractiveError(TreeSet<org.tentackle.validate.ValidationMapper> mappers, org.tentackle.bind.Binder binder, org.tentackle.validate.ValidationResult validationResult)
mappers - optional mappers to map the validation path to a binding pathbinder - the bindervalidationResult - the validation resultInteractiveError createInteractiveError(boolean warning, String text, String errorCode, org.tentackle.validate.ValidationResult validationResult, FxControl control)
warning - true if just a warning, false if errortext - the error texterrorCode - the optional error codevalidationResult - the validation resultcontrol - the optional UI component related to the error, null if noneTentackle - distributed, domain- and model-driven