## Uses of Class
com.gargoylesoftware.htmlunit.html.HtmlOption

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.

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(java.lang.String text)` Returns the `HtmlOption` object that has the specified text.
`HtmlOption` `HtmlSelect.getOptionByValue(java.lang.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
`java.util.List<HtmlOption>` `HtmlSelect.getOptions()` Returns all of the options in this select element.
`java.util.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.

Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.