public class HTMLForm extends Object
| Constructor and Description |
|---|
HTMLForm(String target) |
HTMLForm(String target,
String submitlabel) |
HTMLForm(String target,
String submitlabel,
String tableclass) |
| Modifier and Type | Method and Description |
|---|---|
void |
addField(Field field)
Add a field to be displayed in the form.
|
void |
display(CGI cgi)
Shows the form.
|
void |
setGET(boolean enable)
Set GET method rather than POST
|
public HTMLForm(String target)
target - The module to submit topublic HTMLForm(String target, String submitlabel)
target - The module to submit tosubmitlabel - The string to display on the submit buttonpublic void addField(Field field)
field - A Field subclass.public void setGET(boolean enable)
enable - Enable/Disable GETpublic void display(CGI cgi)
cgi - The CGI instance that is handling output