Package | Description |
---|---|
fc.web.forms |
Encapsulates HTML forms as java objects (Usage Diagram [in new window], Class Hierarchy Diagram).
|
Modifier and Type | Method and Description |
---|---|
VText |
VText.allowEmpty(boolean allow)
Checks to see if the field is required to be filled by the user.
|
VText |
VText.allowFloatingOnly()
Ensures that the string is composed of only floating point number
characters with optional leading/trailing blanks.
|
VText |
VText.allowIntegersOnly()
Ensures that the string is composed of only integer characters, with
optional leading/trailing blanks.
|
VText |
VText.setAllowedChars(String chars)
Sets the characters allowed in this field.
|
VText |
VText.setAllowedPattern(Pattern pat)
Sets the regular expression representing the allowed input.
|
VText |
VText.setLengthRange(int minlength,
int maxlength)
Checks to see if the number of chars in the field are between the minimum
and maximum amount (both inclusive).
|
VText |
VText.setMaxSize(int maxlength)
Checks to see if the number of chars in the field are between 0 and the
specified maximum amount (inclusive).
|
VText |
VText.setMinSize(int minlength)
Checks to see if the number of chars in the field are at least
the minimum number (inclusive) specified by this method.
|
VText |
VText.setUnallowedChars(String chars)
Sets the characters not allowed in this field.
|