Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from class ru.biosoft.access.support.NameListToListModelAdapter
`nameList`

Fields inherited from class javax.swing.AbstractListModel
`listenerList`

Constructor Summary
`NameListToComboBoxModelAdapter(DataCollection dataCollection)`

Method Summary
`void` | `addElement(java.lang.Object obj)` Adds new element according to sorting order.
`java.lang.Object` | `getSelectedItem()`
`void` | `insertElementAt(java.lang.Object obj, int index)`
`void` | `removeElement(java.lang.Object obj)`
`void` | `removeElementAt(int index)`
`void` | `setSelectedItem(java.lang.Object anItem)`

Methods inherited from class ru.biosoft.access.support.NameListToListModelAdapter
`elementAdded, elementChanged, elementRemoved, elementWillAdd, elementWillChange, elementWillRemove, getElementAt, getSize`

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`

Constructor Detail

### NameListToComboBoxModelAdapter

    public NameListToComboBoxModelAdapter(DataCollection dataCollection)

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.