com.meterware.httpunit

Class SubmitButton

public class SubmitButton extends Button

This class represents a submit button in an HTML form.
Method Summary
voidclick(int x, int y)
Performs the action associated with clicking this button after running any 'onClick' script.
protected voiddoButtonAction()
Perform the normal action of this button.
booleanequals(Object o)
StringgetType()
inthashCode()
booleanisImageButton()
Returns true if this submit button is an image map.
StringtoString()

Method Detail

click

public void click(int x, int y)
Performs the action associated with clicking this button after running any 'onClick' script. For a submit button this typically submits the form.

Since: 1.6

doButtonAction

protected void doButtonAction()
Perform the normal action of this button.

equals

public boolean equals(Object o)

getType

public String getType()

hashCode

public int hashCode()

isImageButton

public boolean isImageButton()
Returns true if this submit button is an image map.

toString

public String toString()