charvax.swing
Interface ComboBoxModel

All Superinterfaces:
ListModel
All Known Subinterfaces:
MutableComboBoxModel
All 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
 java.lang.Object getSelectedItem()
          Return the selected item.
 void setSelectedItem(java.lang.Object anItem)
          Set the selected item
 
Methods inherited from interface charvax.swing.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
 

Method Detail

getSelectedItem

public java.lang.Object getSelectedItem()
Return the selected item.


setSelectedItem

public void setSelectedItem(java.lang.Object anItem)
Set the selected item