public class LengthRule extends Rule<LengthRule>
Rule.PriorityComparator| Constructor and Description |
|---|
LengthRule(java.lang.Integer min,
java.lang.Integer max) |
| Modifier and Type | Method and Description |
|---|---|
LengthRule |
allowEmpty() |
protected void |
checkInstance(android.view.View view) |
void |
checkView(android.view.View view) |
getPriority, setContext, setMessage, setMessage, setMessage, setMessage, setPriority, validatepublic void checkView(android.view.View view)
throws ViewFormErrorException
checkView in class Rule<LengthRule>ViewFormErrorExceptionpublic LengthRule allowEmpty()
protected void checkInstance(android.view.View view)
throws java.lang.IllegalArgumentException
checkInstance in class Rule<LengthRule>java.lang.IllegalArgumentException