|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.widgets.form.validator.Validator
com.smartgwt.client.widgets.form.validator.MatchesFieldValidator
public class MatchesFieldValidator
Tests whether the value for this field matches the value of some other field. The field to compare against is specified via the otherField property on the validator object (should be set to a field name). Note this validator type is only supported for items being edited within a DynamicForm - it cannot be applied to a ListGrid field.
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
MatchesFieldValidator()
|
Method Summary | |
---|---|
java.lang.String |
getOtherField()
Return the otherField. |
void |
setOtherField(java.lang.String otherField)
Set the otherField. |
Methods inherited from class com.smartgwt.client.widgets.form.validator.Validator |
---|
getClientOnly, getOrCreateRef, getStopIfFalse, setClientOnly, setErrorMessage, setStopIfFalse |
Methods inherited from class com.smartgwt.client.core.JsObject |
---|
isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatchesFieldValidator()
Method Detail |
---|
public void setOtherField(java.lang.String otherField)
otherField
- the otherFieldpublic java.lang.String getOtherField()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |