Interface IValidationMessageProvider
-
- All Known Implementing Classes:
ValidationMessageProvider
public interface IValidationMessageProviderSimple interface to provide a validation message text and a message type for a givenValidationStatusProvider.Can be used in dialogs to display a message text along with an icon reflecting the validation status.
- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetMessage(ValidationStatusProvider statusProvider)Returns the validation message text for the given validation status provider.intgetMessageType(ValidationStatusProvider statusProvider)Returns the validation message type as one of the constants defined inIMessageProviderfor the given validation status provider.
-
-
-
Method Detail
-
getMessage
String getMessage(ValidationStatusProvider statusProvider)
Returns the validation message text for the given validation status provider.- Parameters:
statusProvider- theValidationStatusProviderfor which to provide a message text. May benull.- Returns:
- The validation message text for the given
validationStatusProvider. May benull.
-
getMessageType
int getMessageType(ValidationStatusProvider statusProvider)
Returns the validation message type as one of the constants defined inIMessageProviderfor the given validation status provider.- Parameters:
statusProvider- theValidationStatusProviderfor which to provide a message type. May benull.- Returns:
- The validation message type for the given
validationStatusProvider.
-
-