|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaxcent.JaxcentObject
jaxcent.JaxcentHtmlElement
jaxcent.HtmlForm
The class HtmlForm corresponds to FORM tags on the page.
Constructor Summary | |
HtmlForm(JaxcentPage page,
SearchType searchType,
java.lang.String str)
Search for HTML element on page by specified search type and search string. |
|
HtmlForm(JaxcentPage page,
SearchType searchType,
java.lang.String[] attributes,
java.lang.String[] values)
Create new HTML element on page using the specified attributes and values. |
|
HtmlForm(JaxcentPage page,
SearchType searchType,
java.lang.String str,
int index)
Search for HTML Element on page by specified search type and search string, and search index. |
|
HtmlForm(JaxcentPage page,
SearchType searchType,
java.lang.String tag,
java.lang.String text)
Create new HTML Element on page using the specified tag. |
|
HtmlForm(JaxcentPage page,
SearchType searchType,
java.lang.String text,
java.lang.String[] attributes,
java.lang.String[] values)
Create new HTML element on page using the specified text and attributes and values. |
|
HtmlForm(JaxcentPage page,
java.lang.String id)
Search for HTML element on page by specified ID |
Method Summary | |
java.lang.String |
getAction()
Retrieve the "action" property |
int |
getLength()
Retrieve the "length" property |
java.lang.String |
getMethod()
Retrieve the "method" property |
java.lang.String |
getName()
Retrieve the "name" property |
java.lang.String |
getTarget()
Retrieve the "target" property |
protected void |
onBlur()
Override to handle the "blur" event |
protected void |
onClick()
Override to handle the "click" event |
protected void |
onFocus()
Override to handle the "focus" event |
protected void |
onMouseDown()
Override to handle the "mouseDown" event |
protected void |
onMouseUp()
Override to handle the "mouseUp" event |
protected void |
onReset()
Override to handle the "reset" event |
protected void |
onSubmit()
Override to handle the "submit" event |
protected void |
onSubmit(java.util.Map pageData)
Override to handle the "submit" event and receive current page data |
void |
reset()
Reset the form. |
void |
scrollIntoView(boolean top)
Bring the element into view, by scrolling if necessary. |
void |
setAction(java.lang.String value)
Set the "action" property |
void |
setMethod(java.lang.String value)
Set the "method" property |
void |
setName(java.lang.String value)
Set the "name" property |
void |
setTarget(java.lang.String value)
Set the "target" property |
void |
submit()
Submit the form. |
Methods inherited from class jaxcent.JaxcentHtmlElement |
getAttribute, getID, getInnerText, getStyle, getTag, hide, insertAfter, insertAtBeginning, insertAtBeginning, insertAtEnd, insertAtEnd, insertBefore, setAttribute, setInnerText, setStyle, setStyle, setStyle, setStyle, setVisible, show |
Methods inherited from class jaxcent.JaxcentObject |
addJavaScriptVerification, getId, getProperty, setId, setProperty, setProperty, setProperty, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlForm(JaxcentPage page, java.lang.String id)
public HtmlForm(JaxcentPage page, SearchType searchType, java.lang.String str)
public HtmlForm(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
public HtmlForm(JaxcentPage page, SearchType searchType, java.lang.String tag, java.lang.String text) throws Jaxception
public HtmlForm(JaxcentPage page, SearchType searchType, java.lang.String[] attributes, java.lang.String[] values) throws Jaxception
public HtmlForm(JaxcentPage page, SearchType searchType, java.lang.String text, java.lang.String[] attributes, java.lang.String[] values) throws Jaxception
Method Detail |
protected void onClick()
protected void onMouseDown()
protected void onMouseUp()
protected void onReset()
protected void onSubmit()
protected void onSubmit(java.util.Map pageData)
protected void onFocus()
protected void onBlur()
public void setName(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getName() throws Jaxception
Jaxception
public int getLength() throws Jaxception
Jaxception
public void setTarget(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getTarget() throws Jaxception
Jaxception
public void setAction(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getAction() throws Jaxception
Jaxception
public void setMethod(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getMethod() throws Jaxception
Jaxception
public void scrollIntoView(boolean top) throws Jaxception
Jaxception
public void reset() throws Jaxception
Jaxception
public void submit() throws Jaxception
Jaxception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |