|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sapportals.portal.prt.util.html.HtmlAttributeContainer
|
+--com.sapportals.portal.prt.util.html.HtmlBase
|
+--com.sapportals.portal.prt.util.html.HtmlContainer
|
+--com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable
|
+--com.sapportals.portal.prt.util.html.HtmlForm
HtmlForm.java Created: Wed Nov 03 18:49:33 1999
| Inner Class Summary | |
static class |
HtmlForm.FormMethod
|
| Field Summary | |
protected java.lang.String |
m_action
URL of the program to call |
protected HtmlForm.FormMethod |
m_method
how to transfer the data to the program on submit. |
protected java.lang.String |
m_name
The name of the forl |
protected java.lang.String |
m_onReset
onReset runs a script when the user resets the form. |
protected java.lang.String |
m_onSubmit
onSubmit is a scripting event that occurs when the user attempts to submit the form . onSubmit can be used to do some error checking on the form data, and to cancel the submit if an error is found. |
protected java.lang.String |
m_target
TARGET indicates which frame in a set of frames to send the results to, and works just like . |
| Fields inherited from class com.sapportals.portal.prt.util.html.HtmlContainer |
m_htmlElements |
| Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase |
m_hasTag |
| Fields inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer |
EQUALS_BEGIN, EQUALS_END, m_attributes, SPACE |
| Constructor Summary | |
HtmlForm()
|
|
| Method Summary | |
java.lang.String |
getAction()
Get the value of m_action. |
HtmlForm.FormMethod |
getMethod()
Get the value of m_method. |
java.lang.String |
getName()
Get the value of m_name. |
java.lang.String |
getOnReset()
Get the value of m_onReset. |
java.lang.String |
getOnSubmit()
Get the value of m_onSubmit. |
java.lang.String |
getTarget()
Get the value of m_target. |
void |
outputAttributes(java.io.PrintWriter out)
Deprecated. |
void |
outputAttributes(java.lang.StringBuffer strbuf)
|
void |
outputAttributes(java.io.Writer out)
|
HtmlForm |
setAction(java.lang.String v)
Set the value of m_action. |
HtmlForm |
setMethod(HtmlForm.FormMethod v)
Set the value of m_method. |
HtmlForm |
setName(java.lang.String v)
Set the value of m_name. |
HtmlForm |
setOnReset(java.lang.String v)
Set the value of m_onReset. |
HtmlForm |
setOnSubmit(java.lang.String v)
Set the value of m_onSubmit. |
HtmlForm |
setTarget(java.lang.String v)
Set the value of m_target. |
| Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainerIdentifiable |
destroy, setID |
| Methods inherited from class com.sapportals.portal.prt.util.html.HtmlContainer |
addElement, addElement, getElementCount, getHtmlElements, output, output, output, outputChildren, outputChildren, outputEndTag, outputEndTag, outputStartTag, outputStartTag, removeAllElements, removeElement, setHtmlElements, toString |
| Methods inherited from class com.sapportals.portal.prt.util.html.HtmlBase |
getTag, hasTag, requireClosingTag, requireClosingTag, setClass, setStyle, setTag |
| Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer |
addAttribute, appendToAttribute, getAttributes, removeAttribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sapportals.portal.prt.util.html.IHtmlIdentifiable |
setClass |
| Field Detail |
protected java.lang.String m_action
protected HtmlForm.FormMethod m_method
protected java.lang.String m_name
protected java.lang.String m_target
protected java.lang.String m_onSubmit
protected java.lang.String m_onReset
| Constructor Detail |
public HtmlForm()
| Method Detail |
public void outputAttributes(java.lang.StringBuffer strbuf)
outputAttributes in class HtmlAttributeContainerpublic void outputAttributes(java.io.PrintWriter out)
outputAttributes in class HtmlAttributeContainercom.sapportals.portal.prt.util.html.IHtmlAttributeContainerwriter - public void outputAttributes(java.io.Writer out)
outputAttributes in class HtmlAttributeContainerpublic java.lang.String getAction()
public HtmlForm setAction(java.lang.String v)
v - Value to assign to m_action.public HtmlForm.FormMethod getMethod()
public HtmlForm setMethod(HtmlForm.FormMethod v)
v - Value to assign to m_method.public java.lang.String getName()
public HtmlForm setName(java.lang.String v)
v - Value to assign to m_name.public java.lang.String getTarget()
public HtmlForm setTarget(java.lang.String v)
v - Value to assign to m_target.public java.lang.String getOnSubmit()
public HtmlForm setOnSubmit(java.lang.String v)
v - Value to assign to m_onSubmit.public java.lang.String getOnReset()
public HtmlForm setOnReset(java.lang.String v)
v - Value to assign to m_onReset.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||