java.lang.Object
com.meterware.httpunit.scripting.ScriptableDelegate
com.meterware.httpunit.HTMLElementScriptable
com.meterware.httpunit.FormControl.Scriptable
- All Implemented Interfaces:
- com.meterware.httpunit.scripting.DocumentElement, com.meterware.httpunit.scripting.IdentifiedDelegate, com.meterware.httpunit.scripting.Input, com.meterware.httpunit.scripting.NamedDelegate
- Direct Known Subclasses:
- BooleanFormControl.Scriptable, Button.Scriptable, FileSubmitFormControl.Scriptable, SelectionFormControl.Scriptable, TextFormControl.Scriptable
- Enclosing class:
- FormControl
- class FormControl.Scriptable
- extends HTMLElementScriptable
- implements com.meterware.httpunit.scripting.Input
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormControl.Scriptable
public FormControl.Scriptable()
getName
public java.lang.String getName()
- Specified by:
getName in interface com.meterware.httpunit.scripting.NamedDelegate
getID
public java.lang.String getID()
- Specified by:
getID in interface com.meterware.httpunit.scripting.IdentifiedDelegate
get
public java.lang.Object get(java.lang.String propertyName)
- Description copied from class:
com.meterware.httpunit.scripting.ScriptableDelegate
- Returns the value of the named property. Will return null if the property does not exist.
- Specified by:
get in interface com.meterware.httpunit.scripting.Input- Overrides:
get in class HTMLElementScriptable
set
public void set(java.lang.String propertyName,
java.lang.Object value)
- Description copied from class:
com.meterware.httpunit.scripting.ScriptableDelegate
- Sets the value of the named property. Will throw a runtime exception if the property does not exist or
cannot accept the specified value.
- Specified by:
set in interface com.meterware.httpunit.scripting.Input
click
public void click()
throws java.io.IOException,
org.xml.sax.SAXException
- Specified by:
click in interface com.meterware.httpunit.scripting.Input