charvax.swing

Interface ComboBoxModel

All Superinterfaces:
ListModel
Known Subinterfaces:
MutableComboBoxModel
Known Implementing Classes:
DefaultComboBoxModel

public interface ComboBoxModel
extends ListModel

ComboBoxDataModel is a ListModel with a selected item. This selected item is in the model since it is not always in the item list.

Method Summary

Object
getSelectedItem()
Return the selected item.
void
setSelectedItem(Object anItem)
Set the selected item

Methods inherited from interface charvax.swing.ListModel

addListDataListener, getElementAt, getSize, removeListDataListener

Method Details

getSelectedItem

public Object getSelectedItem()
Return the selected item.

setSelectedItem

public void setSelectedItem(Object anItem)
Set the selected item