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
 void click()
          simulate a click
 java.lang.Object get(java.lang.String propertyName)
           
 void removeAttribute(java.lang.String attributeName)
          remove the given attribute
 void sendOnChangeEvent()
          fire a on change event
 void set(java.lang.String propertyName, java.lang.Object value)
          set the given property to the given value
 void 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

public java.lang.Object get(java.lang.String propertyName)

set

public void set(java.lang.String propertyName,
                java.lang.Object value)
set the given property to the given value

Parameters:
propertyName -
value -

setAttribute

public 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

public void removeAttribute(java.lang.String attributeName)
remove the given attribute

Parameters:
attributeName -
Since:
1.7

click

public void click()
           throws java.io.IOException,
                  org.xml.sax.SAXException
simulate a click

Throws:
java.io.IOException
org.xml.sax.SAXException

sendOnChangeEvent

public void sendOnChangeEvent()
fire a on change event


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