|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValidator
Interface for all Validators, both before-validator and after-validator.
Before-Validator: When user start to input, beforeValidators will run. If validation failed, the input will be ineffective.
After-Validator: When user input finished and lost the focus status for the text widget, the afterValidators will run. If validation failed, the error system will display the information about it.
Method Summary | |
---|---|
java.lang.String |
getErrorMessage()
Get message when validate error |
void |
setErrorMessage(java.lang.String message)
Set message when validate error |
java.lang.String |
validate(IXUIWidget source,
java.lang.String text)
Validate input text if this text is valid. |
Method Detail |
---|
java.lang.String validate(IXUIWidget source, java.lang.String text)
source
- text
-
void setErrorMessage(java.lang.String message)
message
- java.lang.String getErrorMessage()
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |