All Packages Class Hierarchy This Package Previous Next Index
Class w3c.jigsaw.forms.FormField
java.lang.Object
|
+----w3c.jigsaw.forms.FormField
- public abstract class FormField
- extends Object
- implements FormFieldInterface
-
FormField()
- This construcotr is to be used along with the initialize interface.
-
FormField(String, String, String)
- Create a new field.
-
dump(HtmlGenerator)
- Dump this field into a suitable HTML form element.
-
dumpTitle(HtmlGenerator)
- Dump this field title.
-
getName()
- Get this field's name.
-
getTitle()
- Get the field's title.
-
getValue()
- Get this field value.
-
initialize(String, String, String, Object)
-
-
setURLWindowName(String)
- Set the target window name of the URL, if any.
-
setValue(String)
- Set this field value.
FormField
public FormField(String name,
String title,
String url)
- Create a new field.
- Parameters:
- form - The form to which this field belongs.
- name - The fields name (should be uniq among the same form).
- title - The fields title.
FormField
public FormField()
- This construcotr is to be used along with the initialize interface.
getName
public String getName()
- Get this field's name.
- Returns:
- The field name.
getTitle
public String getTitle()
- Get the field's title.
- Returns:
- The field's title.
setURLWindowName
public void setURLWindowName(String urlWindow)
- Set the target window name of the URL, if any.
- Parameters:
- wname - The window name.
dumpTitle
protected void dumpTitle(HtmlGenerator into)
- Dump this field title.
initialize
public void initialize(String name,
String title,
String url,
Object val) throws FormFieldException
All Packages Class Hierarchy This Package Previous Next Index