Interface IValidationMessageProvider
-
- All Known Implementing Classes:
ValidationMessageProvider
public interface IValidationMessageProvider
Simple 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 String
getMessage(ValidationStatusProvider statusProvider)
Returns the validation message text for the given validation status provider.int
getMessageType(ValidationStatusProvider statusProvider)
Returns the validation message type as one of the constants defined inIMessageProvider
for 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
- theValidationStatusProvider
for 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 inIMessageProvider
for the given validation status provider.- Parameters:
statusProvider
- theValidationStatusProvider
for which to provide a message type. May benull
.- Returns:
- The validation message type for the given
validationStatusProvider
.
-
-