- All Known Implementing Classes:
DefaultInteractiveErrorFactory
public interface InteractiveErrorFactory
A factory for interactive errors.
- Author:
- harald
-
Method Summary
Modifier and TypeMethodDescriptioncreateInteractiveError(boolean warning, String text, String errorCode, ValidationResult validationResult, FxControl control) Creates an interactive error explicitly.createInteractiveError(NavigableSet<ValidationMapper> mappers, Binder binder, ValidationResult validationResult) Creates an interactive error from a validation result.static InteractiveErrorFactoryThe singleton.
-
Method Details
-
getInstance
The singleton.- Returns:
- the singleton
-
createInteractiveError
InteractiveError createInteractiveError(boolean warning, String text, String errorCode, ValidationResult validationResult, FxControl control) Creates an interactive error explicitly.- Parameters:
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 none- Returns:
- the error
-