com.meterware.httpunit
Class ResetButton

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

public class ResetButton
extends Button

Represents a form 'reset' button.

Author:
Russell Gold

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
protected  void doButtonAction()
          Perform the normal action of this button.
 java.lang.String getType()
          Return the type of the control, as seen from JavaScript.
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public java.lang.String getType()
Description copied from class: com.meterware.httpunit.FormControl
Return the type of the control, as seen from JavaScript.

Overrides:
getType in class Button

doButtonAction

protected void doButtonAction()
Description copied from class: Button
Perform the normal action of this button.

Overrides:
doButtonAction in class Button

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