ComboBox.getSelectedItem

Overview | Methods | This Package | All Packages

ComboBox.getSelectedItem

Retrieves the currently selected item in the the combo box.

Syntax

public final Object getSelectedItem()

Return Value

Returns an object that represents the current selection in a combo box. Returns null if no item is currently selected or if the combo box style property is ComboBoxStyle.SIMPLE.

See Also   setSelectedItem