|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.meterware.httpunit.HTMLElementBase
|
+--com.meterware.httpunit.FormControl
|
+--com.meterware.httpunit.Button
|
+--com.meterware.httpunit.SubmitButton
This class represents a submit button in an HTML form.
| Field Summary |
| Fields inherited from class com.meterware.httpunit.Button |
BUTTON_TYPE, CHECKBOX_TYPE, FILE_TYPE, HIDDEN_TYPE, IMAGE_BUTTON_TYPE, MULTIPLE_TYPE, PASSWORD_TYPE, RADIO_BUTTON_TYPE, RESET_BUTTON_TYPE, SINGLE_TYPE, SUBMIT_BUTTON_TYPE, TEXT_TYPE, TEXTAREA_TYPE, UNDEFINED_TYPE, WITH_ID, WITH_LABEL |
| Method Summary | |
void |
click(int x,
int y)
Performs the action associated with clicking this button after running any 'onClick' script. |
protected void |
doButtonAction()
Perform the normal action of this button. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getType()
Return the type of the control, as seen from JavaScript. |
int |
hashCode()
|
boolean |
isImageButton()
Returns true if this submit button is an image map. |
java.lang.String |
toString()
|
| Methods inherited from class com.meterware.httpunit.Button |
claimValueIsRequired, click, doOnClickEvent, getAttribute, getAttribute, getClassName, getForm, getID, getName, getNode, getOptionValues, getParentDelegate, getScriptableDelegate, getText, getTitle, getValue, getValueAttribute, isDisabled, isSupportedAttribute, newScriptable, sendOnChangeEvent, sendOnClickEvent, setState, supportAttribute, toggle, verifyButtonEnabled |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String getType()
com.meterware.httpunit.FormControl
getType in class Buttonpublic boolean isImageButton()
public void click(int x,
int y)
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
protected void doButtonAction()
throws java.io.IOException,
org.xml.sax.SAXException
doButtonAction in class Buttonjava.io.IOException
org.xml.sax.SAXExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
Copyright © 2000-2004 Russell Gold. See license agreement for rights granted. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||