Skip to content

SWTComboBox

Java SWT Combobox.

Extends SWTObject

Extends SeSSimulatedObject

Behavior Pattern: SWTComboBoxBehavior

Property Summary

Property Description Getter Setter
Text Text of the object, 'false' if text can not be read. GetText SetText

Action Summary

Action Description
DoSelectItem Selects an item of this object.
DoSetText Sets text value of this object.

Property Detail

Text

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

Type: string

Accessors: GetText, SetText

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

SeS('SomeSWTComboBox').SetText(value)

Action Detail

DoSelectItem

Selects an item of this object.

SeS('SomeSWTComboBox').DoSelectItem(text)

Parameters:

Name Type Description
text string Text to enter into the edit box.

Returns:

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

DoSetText

Sets text value of this object.

SeS('SomeSWTComboBox').DoSetText(val)

Parameters:

Name Type Description
val string Text value.

Returns:

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