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, ScriptingEventHandler

public class ResetButton
extends Button

Represents a form 'reset' button.

Author:
Russell Gold

Field Summary
 
Fields inherited from class com.meterware.httpunit.Button
WITH_ID, WITH_LABEL
 
Fields inherited from class com.meterware.httpunit.FormControl
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
 
Method Summary
protected  void doButtonAction(int x, int y)
          overridden button action
 java.lang.String getType()
          Return the type of the control, as seen from JavaScript.
 
Methods inherited from class com.meterware.httpunit.Button
addValues, click, doButtonAction, doOnClickSequence, getParentDelegate, getValue, getValues, isDisabled, newScriptable, rememberEnableState, throwDisabledException, verifyButtonEnabled
 
Methods inherited from class com.meterware.httpunit.FormControl
claimUniqueValue, claimValueIsRequired, doEvent, doEventScript, doOnChangeEvent, doOnClickEvent, doOnMouseDownEvent, doOnMouseUpEvent, emptyIfNull, getAttribute, getAttribute, getClassName, getDisplayedOptions, getForm, getID, getName, getNode, getOptionValues, getScriptingHandler, getTagName, getText, getTitle, getValueAttribute, handleEvent, isHidden, isMultiValued, isReadOnly, isSupportedAttribute, removeAttribute, reset, sendOnChangeEvent, sendOnClickEvent, sendOnMouseDownEvent, sendOnMouseUpEvent, setAttribute, setState, setValueAttribute, supportAttribute, toggle
 
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: FormControl
Return the type of the control, as seen from JavaScript.

Overrides:
getType in class Button

doButtonAction

protected void doButtonAction(int x,
                              int y)
overridden button action

Overrides:
doButtonAction in class Button
Parameters:
x - - the x coordinate
y - - the y coordinate

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