public class Validator.TextBoxValidator extends Object
| Constructor and Description |
|---|
Validator.TextBoxValidator(TextBox target) |
| Modifier and Type | Method and Description |
|---|---|
Validator.TextBoxValidator |
requireEqual(TextBox other,
String feedback)
Requires that the contents of this text box be equal to the contents of the supplied
other text box.
|
Validator.TextBoxValidator |
requireLengthOf(int length,
String feedback)
Requires that the text box contain text of at least the specified length.
|
Validator.TextBoxValidator |
requireNonEmpty(String feedback)
Requires that the text box be non-empty.
|
public Validator.TextBoxValidator(TextBox target)
public Validator.TextBoxValidator requireNonEmpty(String feedback)
public Validator.TextBoxValidator requireLengthOf(int length, String feedback)
public Validator.TextBoxValidator requireEqual(TextBox other, String feedback)
Copyright © 2013. All Rights Reserved.