|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.meterware.httpunit.HTMLElementBase
com.meterware.httpunit.FormControl
com.meterware.httpunit.BooleanFormControl
com.meterware.httpunit.RadioButtonFormControl
| Field Summary |
| 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 |
| Constructor Summary | |
RadioButtonFormControl(WebForm form,
com.meterware.httpunit.dom.HTMLInputElementImpl element)
|
|
| Method Summary | |
protected void |
addValues(com.meterware.httpunit.protocol.ParameterProcessor processor,
java.lang.String characterSet)
|
protected java.lang.String[] |
getDisplayedOptions()
Returns the list of values displayed by this control, if any. |
java.lang.String[] |
getOptionValues()
Returns the values permitted in this control. |
java.lang.String |
getQueryValue()
|
java.lang.String |
getType()
Return the type of the control, as seen from JavaScript. |
protected java.lang.String |
getValueAttribute()
Returns the value of this control in the form. |
java.lang.String[] |
getValues()
Returns the current value(s) associated with this control. |
boolean |
isExclusive()
Returns true if only one control of this kind can have a value. |
protected boolean |
isValueRequired()
|
ScriptableDelegate |
newScriptable()
Creates and returns a scriptable object for this control. |
void |
setChecked(boolean checked)
|
protected void |
setValueAttribute(java.lang.String value)
Sets the value of this control in the form. |
| Methods inherited from class com.meterware.httpunit.FormControl |
claimUniqueValue, claimValueIsRequired, doEvent, doEventScript, doOnChangeEvent, doOnClickEvent, doOnMouseDownEvent, doOnMouseUpEvent, emptyIfNull, getAttribute, getAttribute, getClassName, getForm, getID, getName, getNode, getParentDelegate, getScriptingHandler, getTagName, getText, getTitle, handleEvent, isDisabled, isHidden, isMultiValued, isReadOnly, isSupportedAttribute, removeAttribute, reset, sendOnChangeEvent, sendOnClickEvent, sendOnMouseDownEvent, sendOnMouseUpEvent, setAttribute, setState, supportAttribute, toggle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RadioButtonFormControl(WebForm form,
com.meterware.httpunit.dom.HTMLInputElementImpl element)
| Method Detail |
public java.lang.String getType()
FormControl
getType in class FormControlpublic boolean isExclusive()
public java.lang.String getQueryValue()
public ScriptableDelegate newScriptable()
FormControl
newScriptable in interface HTMLElementnewScriptable in class FormControlprotected java.lang.String getValueAttribute()
FormControl
getValueAttribute in class FormControlprotected void setValueAttribute(java.lang.String value)
FormControl
setValueAttribute in class FormControlpublic void setChecked(boolean checked)
public java.lang.String[] getValues()
getValues in class FormControlpublic java.lang.String[] getOptionValues()
getOptionValues in class FormControlprotected java.lang.String[] getDisplayedOptions()
FormControl
getDisplayedOptions in class FormControl
protected void addValues(com.meterware.httpunit.protocol.ParameterProcessor processor,
java.lang.String characterSet)
throws java.io.IOException
addValues in class FormControljava.io.IOExceptionprotected boolean isValueRequired()
|
Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||