|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjaxcent.JaxcentObject
jaxcent.JaxcentHtmlElement
jaxcent.HtmlOption
The class HtmlOption corresponds to OPTION tags on the page, i.e. to individual elements of SELECT tags. Objects of this class can also be obtained by calling the getOption method of HtmlSelect objects. To add new options, call the insertOption method of HtmlSelect.
Constructor Summary | |
HtmlOption(JaxcentPage page,
SearchType searchType,
java.lang.String str)
Search for HTML element on page by specified search type and search string. |
|
HtmlOption(JaxcentPage page,
SearchType searchType,
java.lang.String str,
int index)
Search for HTML Element on page by specified search type and search string, and search index. |
|
HtmlOption(JaxcentPage page,
java.lang.String id)
Search for HTML element on page by specified ID |
Method Summary | |
void |
delete()
Delete this element. |
boolean |
getDefaultSelected()
Retrieve the "defaultSelected" property |
int |
getIndex()
Retrieve the "index" property |
boolean |
getSelected()
Retrieve the "selected" property |
java.lang.String |
getText()
Retrieve the "text" property |
java.lang.String |
getValue()
Retrieve the "value" property |
void |
setIndex(int value)
Set the "index" property |
void |
setSelected(boolean value)
Set the "selected" property |
void |
setText(java.lang.String value)
Set the "text" property |
void |
setValue(java.lang.String value)
Set the "value" property |
Methods inherited from class jaxcent.JaxcentHtmlElement |
getAttribute, getID, getInnerText, getStyle, getTag, hide, insertAfter, insertAtBeginning, insertAtBeginning, insertAtEnd, insertAtEnd, insertBefore, setAttribute, setInnerText, setStyle, setStyle, setStyle, setStyle, setVisible, show |
Methods inherited from class jaxcent.JaxcentObject |
addJavaScriptVerification, getId, getProperty, setId, setProperty, setProperty, setProperty, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlOption(JaxcentPage page, java.lang.String id)
public HtmlOption(JaxcentPage page, SearchType searchType, java.lang.String str)
public HtmlOption(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
Method Detail |
public boolean getDefaultSelected() throws Jaxception
Jaxception
public void setIndex(int value) throws Jaxception
Jaxception
public int getIndex() throws Jaxception
Jaxception
public void delete() throws Jaxception
Jaxception
public void setSelected(boolean value) throws Jaxception
Jaxception
public boolean getSelected() throws Jaxception
Jaxception
public void setText(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getText() throws Jaxception
Jaxception
public void setValue(java.lang.String value) throws Jaxception
Jaxception
public java.lang.String getValue() throws Jaxception
Jaxception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |