ru.biosoft.access.support
Class NameListToComboBoxModelAdapter
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--ru.biosoft.access.support.NameListToListModelAdapter
|
+--ru.biosoft.access.support.NameListToComboBoxModelAdapter
- public class NameListToComboBoxModelAdapter
- extends NameListToListModelAdapter
- implements ComboBoxModel, MutableComboBoxModel
| Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, removeListDataListener, getListeners |
| Methods inherited from class java.lang.Object |
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
NameListToComboBoxModelAdapter
public NameListToComboBoxModelAdapter(DataCollection dataCollection)
addElement
public void addElement(Object obj)
- Adds new element according to sorting order.
getSelectedItem
public Object getSelectedItem()
insertElementAt
public void insertElementAt(Object obj, int index)
removeElement
public void removeElement(Object obj)
removeElementAt
public void removeElementAt(int index)
setSelectedItem
public void setSelectedItem(Object anItem)
BOTTOM