Skip to content

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

value = SeS('SomeGWTExtComboBox').GetSelectedIndex()

SeS('SomeGWTExtComboBox').SetSelectedIndex(index)

SelectedItem

Text of the selected item in a single string.

Type: string

Accessors: GetSelectedItem, SetSelectedItem

value = SeS('SomeGWTExtComboBox').GetSelectedItem()

SeS('SomeGWTExtComboBox').SetSelectedItem(name)

Text

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

Type: string

Accessors: GetText, SetText

value = SeS('SomeGWTExtComboBox').GetText()

SeS('SomeGWTExtComboBox').SetText(name)

Action Detail

DoExpand

Expands the combobox.

SeS('SomeGWTExtComboBox').DoExpand(x, y, forceEvent)

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

Selects an item of this object.

SeS('SomeGWTExtComboBox').DoSelectItem(item)

Parameters:

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

Returns:

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