SUMMARY: NESTED | FIELD | CONSTR |
METHOD
DETAIL: FIELD | CONSTR |
METHOD
javax.swing
Interface ComboBoxModel
- All Superinterfaces:
- ListModel
- All Known Subinterfaces:
- MutableComboBoxModel
- All Known Implementing Classes:
- DefaultComboBoxModel
- public interface ComboBoxModel
- extends ListModel
Unsafe:
Method Summary
Methods inherited from interface javax.swing.ListModel
Method Detail
setSelectedItem
public void setSelectedItem(Object anItem)
- Enabled:
Set the selected item. The implementation of this method should notify
all registered
ListDataListener
s that the contents
have changed.
-
- Parameters:
anItem
- the list object to select or null
to clear the selection
getSelectedItem
public Object getSelectedItem()
- Enabled:
Returns the selected item
-
- Returns:
- The selected item or
null
if there is no selection
SUMMARY: NESTED | FIELD | CONSTR |
METHOD
DETAIL: FIELD | CONSTR |
METHOD