## Uses of Class
com.google.gwt.dom.client.OptionElement

- Packages that use OptionElement
  Package | Description
  --- | ---
  com.google.gwt.dom.client | Classes for low-level DOM programming.
  com.google.gwt.user.client.ui | Widgets, Panels, and other user-interface classes.

- - ### Uses of OptionElement in com.google.gwt.dom.client

    Methods in com.google.gwt.dom.client that return OptionElement
    Modifier and Type | Method and Description
    --- | ---
    `static OptionElement` | OptionElement.`as(Element elem)` Assert that the given `Element` is compatible with this class and automatically typecast it.
    `OptionElement` | Document.`createOptionElement()` Creates an <option> element.

    Methods in com.google.gwt.dom.client that return types with arguments of type OptionElement
    Modifier and Type | Method and Description
    --- | ---
    `NodeList<OptionElement>` | SelectElement.`getOptions()` The collection of OPTION elements contained by this element.
    `NodeList<OptionElement>` | DOMImpl.`selectGetOptions(SelectElement select)`

    Methods in com.google.gwt.dom.client with parameters of type OptionElement
    Modifier and Type | Method and Description
    --- | ---
    `void` | SelectElement.`add(OptionElement option, OptionElement before)` Add a new element to the collection of OPTION elements for this SELECT.
    `void` | DOMImpl.`selectAdd(SelectElement select, OptionElement option, OptionElement before)`
    `void` | DOMImplTrident.`selectAdd(SelectElement select, OptionElement option, OptionElement before)`

  - ### Uses of OptionElement in com.google.gwt.user.client.ui

    Methods in com.google.gwt.user.client.ui with parameters of type OptionElement
    Modifier and Type | Method and Description
    --- | ---
    `protected java.lang.String` | ListBox.`getOptionText(OptionElement option)` Retrieves the text of an option element.
    `protected void` | ListBox.`setOptionText(OptionElement option, java.lang.String text, HasDirection.Direction dir)` Sets the text of an option element.