|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.meterware.httpunit.scripting.ScriptableDelegate
com.meterware.httpunit.controls.SelectionFormControl.Options
public abstract class SelectionFormControl.Options
Field Summary |
---|
Fields inherited from class com.meterware.httpunit.scripting.ScriptableDelegate |
---|
NULL_SCRIPT_ENGINE |
Method Summary | |
---|---|
protected abstract boolean |
claimUniqueValues(java.util.List values,
SelectionFormControl.Option[] options)
|
protected abstract void |
ensureUniqueOption(SelectionFormControl.Option[] options,
int i)
|
java.lang.Object |
get(int index)
get the Object at the given index check that the index is not out of bounds |
int |
getLength()
Returns the length of this array |
protected abstract int |
noOptionSelectedIndex()
|
void |
put(int i,
SelectionOption option)
Specify the specified option |
protected void |
reportNoMatches(java.util.List values)
report if there are no matches be aware of [ 1100437 ] Patch for ClassCastException in FormControl TODO implement patch if test get's available |
void |
setLength(int length)
Modified by gklopp - 12/19/2005 [ 1396835 ] Javascript : length of a select element cannot be increased Bug corrected : The length can be greater than the original length |
Methods inherited from class com.meterware.httpunit.scripting.ScriptableDelegate |
---|
clearCaches, doEvent, doEventScript, evaluateExpression, 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 |
Method Detail |
---|
protected abstract boolean claimUniqueValues(java.util.List values, SelectionFormControl.Option[] options)
protected final void reportNoMatches(java.util.List values)
values
- protected abstract int noOptionSelectedIndex()
public int getLength()
SelectionOptions
getLength
in interface SelectionOptions
public void setLength(int length)
setLength
in interface SelectionOptions
public void put(int i, SelectionOption option)
SelectionOptions
put
in interface SelectionOptions
protected abstract void ensureUniqueOption(SelectionFormControl.Option[] options, int i)
public java.lang.Object get(int index)
get
in class ScriptableDelegate
index
- - the index of the object to get
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |