GWTExtComboBox

GWT-Ext ComboBox.

Extends HTMLObject.

Extends SeSSimulatedObject.

Behavior Pattern: GWTExtComboBoxBehavior

Property Summary

Property Description Getter Setter
SelectedIndex Index of the selected element of the object. GetSelectedIndex SetSelectedIndex
SelectedItem Text of the selected item in a single string. GetSelectedItem SetSelectedItem
Text Text of the object, 'false' if text can not be read. GetText SetText

Action Summary

Action Description
DoExpand Expands the combobox.
DoSelectItem Selects an item of this object.

Property Detail

SelectedIndex

Index of the selected element of the object.

Type: number

Accessors: GetSelectedIndex, SetSelectedIndex

SelectedItem

Text of the selected item in a single string.

Type: string

Accessors: GetSelectedItem, SetSelectedItem

Text

Text of the object, 'false' if text can not be read.

Type: string

Accessors: GetText, SetText

Action Detail

DoExpand(x, y, forceEvent)

Expands the combobox.

Parameters:

Name Type Description
x number X-coordinate of location relative to object's left border
y number Y-coordinate of location relative to object's top border
forceEvent boolean pass 'true' to force browser event without actual mouse click.
Optional.

Returns:

boolean: 'true' if success, 'false' otherwise.

DoSelectItem(item)

Selects an item of this object.

Parameters:

Name Type Description
item string | number Item index or text value to select.

Returns:

boolean: 'true' if success, 'false' otherwise.