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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected String |
ListBox.getOptionText(OptionElement option)
Retrieves the text of an option element.
|
protected void |
ListBox.setOptionText(OptionElement option,
String text,
HasDirection.Direction dir)
Sets the text of an option element.
|
Copyright © 2018. All rights reserved.