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 void
click()
simulate a clickjava.lang.Object
get(java.lang.String propertyName)
void
removeAttribute(java.lang.String attributeName)
remove the given attributevoid
sendOnChangeEvent()
fire a on change eventvoid
set(java.lang.String propertyName, java.lang.Object value)
set the given property to the given valuevoid
setAttribute(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.SAXException
simulate a click- Throws:
java.io.IOException
org.xml.sax.SAXException
-
sendOnChangeEvent
void sendOnChangeEvent()
fire a on change event
-
-