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.
|
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.
|
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) |
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 |
DOMImplTrident.selectAdd(SelectElement select,
OptionElement option,
OptionElement before) |
void |
DOMImpl.selectAdd(SelectElement select,
OptionElement option,
OptionElement before) |
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.
|