Package com.meterware.httpunit.scripting
Interface Input
-
- All Superinterfaces:
IdentifiedDelegate,NamedDelegate
- All Known Implementing Classes:
FormControl.Scriptable
public interface Input extends IdentifiedDelegate, NamedDelegate
An interface for scriptable delegates which represent form controls.- Author:
- Russell Gold
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclick()simulate a clickjava.lang.Objectget(java.lang.String propertyName)voidremoveAttribute(java.lang.String attributeName)remove the given attributevoidsendOnChangeEvent()fire a on change eventvoidset(java.lang.String propertyName, java.lang.Object value)set the given property to the given valuevoidsetAttribute(java.lang.String attributeName, java.lang.Object value)set the given attribute to the given value-
Methods inherited from interface com.meterware.httpunit.scripting.IdentifiedDelegate
getID
-
Methods inherited from interface com.meterware.httpunit.scripting.NamedDelegate
getName
-
-
-
-
Method Detail
-
get
java.lang.Object get(java.lang.String propertyName)
-
set
void set(java.lang.String propertyName, java.lang.Object value)set the given property to the given value- Parameters:
propertyName-value-
-
setAttribute
void setAttribute(java.lang.String attributeName, java.lang.Object value)set the given attribute to the given value- Parameters:
attributeName-value-- Since:
- 1.7
-
removeAttribute
void removeAttribute(java.lang.String attributeName)
remove the given attribute- Parameters:
attributeName-- Since:
- 1.7
-
click
void click() throws java.io.IOException, org.xml.sax.SAXExceptionsimulate a click- Throws:
java.io.IOExceptionorg.xml.sax.SAXException
-
sendOnChangeEvent
void sendOnChangeEvent()
fire a on change event
-
-