|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Field | |
---|---|
fc.web.forms | Encapsulates HTML forms as java objects (Usage Diagram [in new window], Class Hierarchy Diagram). |
Uses of Field in fc.web.forms |
---|
Subclasses of Field in fc.web.forms | |
---|---|
class |
AbstractText
Represents a field that: returns one (1) string as their value. |
class |
Checkbox
Represents a HTML form's checkbox element. |
class |
CheckboxGroup
Represents a grouped set of check boxes. |
class |
Choice
Abstracts an HTML choice type such as choicebox or radio. |
class |
ChoiceGroup
Abstracts a HTML grouped choice element type such as choicebox or radio. |
class |
DependentField
A dependent field. |
class |
DependentSelect
A dependent HTML DependentSelect field. |
class |
Hidden
Represents an HTML hidden field. |
class |
MaxSizable
Represents an HTML field that accepts a 'maxlength' html attribute |
class |
Password
Encapsulates a password field. |
class |
Radio
Represents a HTML form's radio element. |
class |
RadioGroup
Represents a grouped set of radio buttons |
class |
RefreshableSelect
An refreshable HTML Select field. |
class |
Select
An HTML Select field |
class |
Text
Represents an HTML text field |
class |
TextArea
A HTML TextArea |
Methods in fc.web.forms that return Field | |
---|---|
Field |
Form.get(java.lang.String name)
Returns the form field with the specified name. |
Field |
FieldValidator.getField()
Returns the field associated with this validator. |
Field |
Field.renderError(FormData fd,
java.io.Writer writer)
Calls renderError(Writer, String) with <br> as
the message seperator string. |
Field |
Field.renderError(FormData fd,
java.io.Writer writer,
java.lang.String htmlSep)
Convenience method to render validation errors. |
Methods in fc.web.forms with parameters of type Field | |
---|---|
Form |
Form.add(Field field)
Adds the specified element to the form. |
java.lang.Object |
TestDependency.getInitialValues(Field f)
|
java.lang.Object |
Dependency.getInitialValues(Field f)
Returns the initial values for the target field These are the values that are displayed when the form is first rendered. |
java.lang.Object |
Form.remove(Field field)
Removes the specified field from the form. |
Constructors in fc.web.forms with parameters of type Field | |
---|---|
FieldValidator(Field field,
java.lang.String errorMessage)
Creates a new validator. |
|
VFilled(Field field,
java.lang.String errorMessage)
Creates a new validator that fails validation if the fields is not filled out by the user. |
|
VFilledGroup(Form f,
java.lang.String name,
java.lang.String errorMessage,
Field[] fields)
|
|
VFilledOnChoice(Form f,
java.lang.String name,
java.lang.String errorMessage,
ChoiceGroup cg,
java.lang.String choiceValue,
Field[] postFields)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |