|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use HtmlOption | |
---|---|
com.gargoylesoftware.htmlunit.html | Classes specific to HTML pages, particularly the HtmlPage which represents an HTML document and provides access to its content. |
com.gargoylesoftware.htmlunit.javascript.host.html | Implementations of the HTML JavaScript host objects - users of HtmlUnit shouldn't need anything in this package. |
Uses of HtmlOption in com.gargoylesoftware.htmlunit.html |
---|
Methods in com.gargoylesoftware.htmlunit.html that return HtmlOption | |
---|---|
HtmlOption |
HtmlSelect.getOption(int index)
Returns the indexed option. |
HtmlOption |
HtmlSelect.getOptionByText(String text)
Returns the HtmlOption object that has the specified text. |
HtmlOption |
HtmlSelect.getOptionByValue(String value)
Returns the HtmlOption object that corresponds to the specified value. |
Methods in com.gargoylesoftware.htmlunit.html that return types with arguments of type HtmlOption | |
---|---|
List<HtmlOption> |
HtmlSelect.getOptions()
Returns all of the options in this select element. |
List<HtmlOption> |
HtmlSelect.getSelectedOptions()
Returns all of the currently selected options. |
Methods in com.gargoylesoftware.htmlunit.html with parameters of type HtmlOption | |
---|---|
void |
HtmlSelect.appendOption(HtmlOption newOption)
Add a new option at the end. |
void |
HtmlSelect.replaceOption(int index,
HtmlOption newOption)
Replace an option at the given index with a new option. |
Page |
HtmlSelect.setSelectedAttribute(HtmlOption selectedOption,
boolean isSelected)
Sets the "selected" state of the specified option. |
Page |
HtmlSelect.setSelectedAttribute(HtmlOption selectedOption,
boolean isSelected,
boolean invokeOnFocus)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK. Sets the "selected" state of the specified option. |
Uses of HtmlOption in com.gargoylesoftware.htmlunit.javascript.host.html |
---|
Methods in com.gargoylesoftware.htmlunit.javascript.host.html that return HtmlOption | |
---|---|
HtmlOption |
HTMLOptionElement.getDomNodeOrNull()
Returns the DOM node that corresponds to this JavaScript object or null if a node hasn't been set. |
Methods in com.gargoylesoftware.htmlunit.javascript.host.html with parameters of type HtmlOption | |
---|---|
protected void |
HTMLSelectElement.addBefore(HTMLOptionElement newOptionObject,
HtmlOption beforeOption)
Adds the option (and create the associated DOM node if needed) before the specified one or at the end if the specified one in null. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |