com.meterware.httpunit.controls
Class SelectionFormControl.Option
java.lang.Object
com.meterware.httpunit.scripting.ScriptableDelegate
com.meterware.httpunit.controls.SelectionFormControl.Option
- All Implemented Interfaces:
- ScriptingEventHandler, ScriptingHandler, SelectionOption
- Enclosing class:
- SelectionFormControl
public static class SelectionFormControl.Option
- extends ScriptableDelegate
- implements SelectionOption
Methods inherited from class com.meterware.httpunit.scripting.ScriptableDelegate |
clearCaches, doEvent, doEventScript, evaluateExpression, get, get, getDelegates, getScriptEngine, getScriptEngine, handleEvent, runScript, set, setScriptEngine, supportsScriptLanguage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelectionFormControl.Option
public SelectionFormControl.Option()
initialize
public void initialize(java.lang.String text,
java.lang.String value,
boolean defaultSelected,
boolean selected)
- Specified by:
initialize
in interface SelectionOption
getIndex
public int getIndex()
- Specified by:
getIndex
in interface SelectionOption
getText
public java.lang.String getText()
- Specified by:
getText
in interface SelectionOption
setText
public void setText(java.lang.String text)
- Specified by:
setText
in interface SelectionOption
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface SelectionOption
setValue
public void setValue(java.lang.String value)
- Specified by:
setValue
in interface SelectionOption
isDefaultSelected
public boolean isDefaultSelected()
- Specified by:
isDefaultSelected
in interface SelectionOption
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelected
in interface SelectionOption
isSelected
public boolean isSelected()
- Specified by:
isSelected
in interface SelectionOption
Copyright © 2011. All Rights Reserved.