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

Constructor Index

 o FormField()
This construcotr is to be used along with the initialize interface.
 o FormField(String, String, String)
Create a new field.

Method Index

 o dump(HtmlGenerator)
Dump this field into a suitable HTML form element.
 o dumpTitle(HtmlGenerator)
Dump this field title.
 o getName()
Get this field's name.
 o getTitle()
Get the field's title.
 o getValue()
Get this field value.
 o initialize(String, String, String, Object)
 o setURLWindowName(String)
Set the target window name of the URL, if any.
 o setValue(String)
Set this field value.

Constructors

 o 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.
 o FormField
 public FormField()
This construcotr is to be used along with the initialize interface.

Methods

 o getName
 public String getName()
Get this field's name.

Returns:
The field name.
 o getTitle
 public String getTitle()
Get the field's title.

Returns:
The field's title.
 o setURLWindowName
 public void setURLWindowName(String urlWindow)
Set the target window name of the URL, if any.

Parameters:
wname - The window name.
 o dumpTitle
 protected void dumpTitle(HtmlGenerator into)
Dump this field title.

 o initialize
 public void initialize(String name,
                        String title,
                        String url,
                        Object val) throws FormFieldException

All Packages  Class Hierarchy  This Package  Previous  Next  Index