|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sdsu.html.Form
Use the class class to build an HTML form.
Method Summary | |
void |
append(HTML htmlObject)
Appends the given HTML object to the current end of the form. |
void |
append(HTML htmlObject,
java.lang.String label)
Appends the given HTML object then the label to the current end of the form. |
void |
append(java.lang.String asciiText)
Appends the given string to the current end of the form. |
void |
append(java.lang.String label,
HTML htmlObject)
Appends the given label then the HTML object to the current end of the form. |
void |
appendLine()
Appends a line break to the current end of the form. |
void |
appendLine(HTML htmlObject)
Appends the given HTML object then line break to the current end of the form. |
void |
appendLine(HTML htmlObject,
java.lang.String label)
Appends the given HTML object then the label then a line break to the current end of the form. |
void |
appendLine(java.lang.String text)
Appends the given text then line break to the current end of the form. |
void |
appendLine(java.lang.String label,
HTML htmlObject)
Appends the given label then the HTML object then line break to the current end of the form. |
static Form |
methodGet(java.lang.String url)
Returns form object which will send a get request to the given url. |
static Form |
methodPost(java.lang.String url)
Returns form object which will send a post request to the given url. |
java.lang.String |
toString()
Converts the Form to an string with proper html tags |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public static Form methodGet(java.lang.String url)
url
- location to send the form when user submits formpublic static Form methodPost(java.lang.String url)
url
- location to send the form when user submits formpublic void append(java.lang.String asciiText)
public void append(HTML htmlObject)
public void append(HTML htmlObject, java.lang.String label)
public void append(java.lang.String label, HTML htmlObject)
public void appendLine()
public void appendLine(HTML htmlObject)
public void appendLine(java.lang.String text)
public void appendLine(java.lang.String label, HTML htmlObject)
public void appendLine(HTML htmlObject, java.lang.String label)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |