- All Known Implementing Classes:
- DefaultInteractiveError
public interface InteractiveError
Description of an error.
 
 InteractiveErrors provide a link between a ValidationResult and a UI-control.
- Author:
- harald
- 
Method SummaryModifier and TypeMethodDescriptionGets the related FX control.Gets the optional error code.getText()Gets the error message.Gets the optional validation result.booleanReturns whether this is just a warning.voidShows the control to the user.
 The default implementation requests the focus.
- 
Method Details- 
isWarningboolean isWarning()Returns whether this is just a warning.- Returns:
- true if warning, false if error
 
- 
getTextString getText()Gets the error message.- Returns:
- the error text
 
- 
getErrorCodeString getErrorCode()Gets the optional error code.- Returns:
- the error code
 
- 
getControlFxControl getControl()Gets the related FX control.- Returns:
- the control, null if nothing related
 
- 
showControlvoid showControl()Shows the control to the user.
 The default implementation requests the focus.Applications may override this method to switch tabs, point to rows in tables, etc... 
- 
getValidationResultValidationResult getValidationResult()Gets the optional validation result.- Returns:
- the result, null if none
 
 
-