ru.biosoft.access.support
Class NameListToComboBoxModelAdapter
java.lang.Object
javax.swing.AbstractListModel
ru.biosoft.access.support.NameListToListModelAdapter
ru.biosoft.access.support.NameListToComboBoxModelAdapter
- All Implemented Interfaces:
- javax.swing.ComboBoxModel, DataCollectionListener, java.util.EventListener, javax.swing.ListModel, javax.swing.MutableComboBoxModel, java.io.Serializable
- public class NameListToComboBoxModelAdapter
- extends NameListToListModelAdapter
- implements javax.swing.ComboBoxModel, javax.swing.MutableComboBoxModel
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractListModel |
listenerList |
| Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.ListModel |
addListDataListener, getElementAt, getSize, removeListDataListener |
NameListToComboBoxModelAdapter
public NameListToComboBoxModelAdapter(DataCollection dataCollection)
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem in interface javax.swing.ComboBoxModel
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItem in interface javax.swing.ComboBoxModel
addElement
public void addElement(java.lang.Object obj)
- Adds new element according to sorting order.
- Specified by:
addElement in interface javax.swing.MutableComboBoxModel
insertElementAt
public void insertElementAt(java.lang.Object obj,
int index)
- Specified by:
insertElementAt in interface javax.swing.MutableComboBoxModel
removeElement
public void removeElement(java.lang.Object obj)
- Specified by:
removeElement in interface javax.swing.MutableComboBoxModel
removeElementAt
public void removeElementAt(int index)
- Specified by:
removeElementAt in interface javax.swing.MutableComboBoxModel
Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.