T - the generic typepublic class FieldMatchValidator<T> extends AbstractValidator<T>
Validator.Priority| Constructor and Description | 
|---|
FieldMatchValidator(com.google.gwt.user.client.ui.HasValue<T> verifyField)
Constructor. 
 | 
FieldMatchValidator(com.google.gwt.user.client.ui.HasValue<T> verifyField,
                   Object... invalidMessageArgs)
Constructor. 
 | 
FieldMatchValidator(com.google.gwt.user.client.ui.HasValue<T> verifyField,
                   String invalidMessageOverride)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getPriority()
Priority value for this validator. 
 | 
boolean | 
isValid(T value)
Checks if is valid. 
 | 
createErrorList, getInvalidMessage, validatepublic FieldMatchValidator(com.google.gwt.user.client.ui.HasValue<T> verifyField)
verifyField - the verify fieldpublic FieldMatchValidator(com.google.gwt.user.client.ui.HasValue<T> verifyField, Object... invalidMessageArgs)
verifyField - the verify fieldinvalidMessageArgs - the invalid message argspublic FieldMatchValidator(com.google.gwt.user.client.ui.HasValue<T> verifyField, String invalidMessageOverride)
verifyField - the field to verify matches with this one.invalidMessageOverride - the invalid message overridepublic int getPriority()
Validatorpublic boolean isValid(T value)
AbstractValidatorisValid in class AbstractValidator<T>value - the valueCopyright © 2018. All rights reserved.