Package cx.ath.matthew.cgi
Class HTMLForm
- java.lang.Object
-
- cx.ath.matthew.cgi.HTMLForm
-
public class HTMLForm extends Object
Class to manage drawing HTML forms
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(Field field)Add a field to be displayed in the form.voiddisplay(CGI cgi)Shows the form.voidsetGET(boolean enable)Set GET method rather than POST
-
-
-
Method Detail
-
addField
public void addField(Field field)
Add a field to be displayed in the form.- Parameters:
field- A Field subclass.
-
setGET
public void setGET(boolean enable)
Set GET method rather than POST- Parameters:
enable- Enable/Disable GET
-
display
public void display(CGI cgi)
Shows the form.- Parameters:
cgi- The CGI instance that is handling output
-
-