com.meterware.httpunit
Class SubmitButton

java.lang.Object
  extended bycom.meterware.httpunit.HTMLElementBase
      extended bycom.meterware.httpunit.FormControl
          extended bycom.meterware.httpunit.Button
              extended bycom.meterware.httpunit.SubmitButton
All Implemented Interfaces:
HTMLElement

public class SubmitButton
extends Button

This class represents a submit button in an HTML form.


Field Summary
 
Fields inherited from class com.meterware.httpunit.Button
WITH_ID, WITH_LABEL
 
Method Summary
protected  void doButtonAction()
          Perform the normal action of this button.
 boolean equals(java.lang.Object o)
           
 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, getTitle, getValue, getValueAttribute, isDisabled, newScriptable, sendOnChangeEvent, sendOnClickEvent, setState, toggle
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

isImageButton

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


doButtonAction

protected void doButtonAction()
                       throws java.io.IOException,
                              org.xml.sax.SAXException
Perform the normal action of this button.

Overrides:
doButtonAction in class Button
Throws:
java.io.IOException
org.xml.sax.SAXException

toString

public java.lang.String toString()

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

Copyright © 2000-2003 Russell Gold. See license agreement for rights granted.