JavaSwingComboBox

Top  Previous  Next

 

Java Swing Combo Box. Extends JavaObject. Extends SeSSimulatedObject.

 

Behavior Pattern: JavaSwingObjectSelectableBehavior

 

Property Summary

 

Property

Description

Getter

Setter

ItemIndexByName

Returns item index by its name.

GetItemIndexByName


SelectedIndex

Index of the selected element of the object.

GetSelectedIndex

SetSelectedIndex

SelectedText

Text of the selected item in a single string.

GetSelectedText

SetSelectedText

 

Action Summary

 

Action

Description

DoSelectItem

Selects an item of this object.

 

Property Detail

 

ItemIndexByName

Returns item index by its name. 'false' if name is not found.

Accessors: GetItemIndexByName

 

SelectedIndex

Index of the selected element of the object.

Accessors: GetSelectedIndex, SetSelectedIndex

 

SelectedText

Text of the selected item in a single string.

Accessors: GetSelectedText, SetSelectedText

 

Action Detail

 

DoSelectItem(item)

Selects an item of this object.

 

Parameters:

 

Name

Type

Description

item

string |
number

Item index or text value to select.

 

Returns:

 

'true' if success, 'false' otherwise.