Java com.google.gwt.dom.client SelectElement fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.dom.client SelectElement fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.dom.client SelectElement.

The text is from its open source code.

Method

voidadd(OptionElement option, OptionElement before)
Add a new element to the collection of OPTION elements for this SELECT.
SelectElementas(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
voidfocus()
NodeListgetElementsByTagName(String name)
intgetLength()
The number of options in this SELECT.
StringgetName()
Form control or object name when submitted with a form.
NodeListgetOptions()
The collection of OPTION elements contained by this element.
intgetSelectedIndex()
The ordinal index of the selected option, starting from 0.
intgetSize()
Number of visible rows.
StringgetValue()
The current form control value (i.e., the value of the currently selected option), if multiple options are selected this is the value of the first selected option.
booleanisDisabled()
The control is unavailable in this context.
booleanisMultiple()
If true, multiple OPTION elements may be selected in this SELECT.
voidsetAttribute(String name, String value)
voidsetDisabled(boolean disabled)
The control is unavailable in this context.
voidsetDisabled(String disabled)
The control is unavailable in this context.
voidsetMultiple(boolean multiple)
If true, multiple OPTION elements may be selected in this SELECT.
voidsetName(String name)
Form control or object name when submitted with a form.
voidsetSelectedIndex(int index)
The ordinal index of the selected option, starting from 0.
voidsetSize(int size)
Number of visible rows.