|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.tool.parser.html.FormElementWrapper
com.pushtotest.tool.parser.html.OptionElement
public class OptionElement
| Constructor Summary | |
|---|---|
OptionElement()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getType()
The type of this element. |
java.lang.String |
getValueAsString()
The value parameter as a string. |
boolean |
isSelected()
Is this element selected, checked, etc. |
void |
select(boolean select)
Sets the selection value of this element. |
void |
setMultiple(boolean multiple)
Sets the multiple value to a boolean. |
void |
setValueAsString(java.lang.String value)
Sets the value of this element. |
boolean |
supportsMultiple()
Does this form element support multiple selections. |
java.lang.String |
toString()
A string representation of this option element. |
| Methods inherited from class com.pushtotest.tool.parser.html.FormElementWrapper |
|---|
getId, getLabel, getName, getParentForm, isXhtml, setId, setLabel, setName, setParentForm |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OptionElement()
| Method Detail |
|---|
public java.lang.String getType()
getType in interface FormElementgetType in class FormElementWrapperpublic java.lang.String getValueAsString()
getValueAsString in interface FormElementgetValueAsString in class FormElementWrapperpublic void setValueAsString(java.lang.String value)
setValueAsString in interface FormElementsetValueAsString in class FormElementWrappervalue - The value of the form element as a string.public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isSelected()
isSelected in interface Selectablepublic void select(boolean select)
true will cause them to
possibly unselect other values.
select in interface Selectableselect - Whether or not this element should be selected.public boolean supportsMultiple()
supportsMultiple in interface Selectablepublic void setMultiple(boolean multiple)
setMultiple in interface Selectablemultiple - Sets the multiple value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||