|
|||||||||
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(java.lang.String target)
|
|
HTMLForm(java.lang.String target,
java.lang.String submitlabel)
|
|
HTMLForm(java.lang.String target,
java.lang.String submitlabel,
java.lang.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(java.lang.String target)
target
- The module to submit topublic HTMLForm(java.lang.String target, java.lang.String submitlabel)
target
- The module to submit tosubmitlabel
- The string to display on the submit buttonpublic HTMLForm(java.lang.String target, java.lang.String submitlabel, java.lang.String tableclass)
target
- The module to submit tosubmitlabel
- The string to display on the submit buttontableclass
- The class= parameter for the generated tableMethod 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 |