|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValidator
IValidator interface that is used in conjunction with user input. The validator when associated with a widget can validate on keystroke and on focusLost events, allowing the implementor to reject certain keystrokes or combinations and to reject/accept cetain overall inputs.
com.ibm.commons.iloader.node.validators.DoubleValidator}
,
com.ibm.commons.iloader.node.validators.IntegerValidator}
,
com.ibm.commons.iloader.node.validators.LengthValidator}
,
com.ibm.commons.iloader.node.validators.RequiredValidator}
,
com.ibm.commons.iloader.node.validators.CharValidator}
,
com.ibm.commons.iloader.node.validators.StringValidator}
,
com.ibm.commons.iloader.node.validators.XmlNameValidator}
,
com.ibm.commons.iloader.node.validators.MultiValidator}
Method Summary | |
---|---|
boolean |
isBeingValid(java.lang.String value)
Determines if the current value is valid. |
boolean |
isValid(java.lang.String value,
Messages messages)
Determines if the overall input is valid. |
Method Detail |
---|
boolean isBeingValid(java.lang.String value)
value
- the string value which has been entered by the end user and requires validation.
boolean isValid(java.lang.String value, Messages messages)
messages
bundle. Any messages added will be displayed to the end user in the form of a messagebox.
value
- the string value which has been entered by the end user and requires validation.messages
- a bundle of messages to be displayed to the end user in the event that validation fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |