|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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, getTagName, 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 Button
public 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 Button
java.io.IOException
org.xml.sax.SAXException
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object o)
|
Copyright © 2000-2006 Russell Gold. See license agreement for rights granted. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |