Example usage for Java com.google.gwt.dom.client OptionElement fields, constructors, methods, implement or subclass
The text is from its open source code.
String | TAG |
boolean | addClassName(String className) |
OptionElement | as(Element elem) Assert that the given Element is compatible with this class and automatically typecast it. |
String | getClassName() |
String | getInnerHTML() |
String | getInnerText() |
String | getLabel() Option label for use in hierarchical menus. |
boolean | getPropertyBoolean(String name) |
Style | getStyle() |
String | getText() The text contained within the option element. |
String | getValue() The current form control value. |
boolean | isDisabled() The control is unavailable in this context. |
boolean | isSelected() Represents the current state of the corresponding form control, in an interactive user agent. |
boolean | removeClassName(String className) |
void | setAttribute(String name, String value) |
void | setClassName(String className) |
void | setInnerText(String text) |
void | setPropertyBoolean(String name, boolean value) |
void | setSelected(boolean selected) Represents the current state of the corresponding form control, in an interactive user agent. |
void | setText(String text) The text contained within the option element. |
void | setTitle(String title) |
void | setValue(String value) The current form control value. |