com.meterware.httpunit
Class SubmitButton

java.lang.Object
  |
  +--com.meterware.httpunit.HTMLElementBase
        |
        +--com.meterware.httpunit.FormControl
              |
              +--com.meterware.httpunit.Button
                    |
                    +--com.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
java.io.IOException
org.xml.sax.SAXException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

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