|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcx.ath.matthew.cgi.HTMLForm
public class HTMLForm
Class to manage drawing HTML forms
| Constructor Summary | |
|---|---|
HTMLForm(String target)
|
|
HTMLForm(String target,
String submitlabel)
|
|
HTMLForm(String target,
String submitlabel,
String tableclass)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLForm(String target)
target - The module to submit to
public HTMLForm(String target,
String submitlabel)
target - The module to submit tosubmitlabel - The string to display on the submit button
public HTMLForm(String target,
String submitlabel,
String tableclass)
target - The module to submit tosubmitlabel - The string to display on the submit buttontableclass - The class= parameter for the generated table| Method Detail |
|---|
public 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||