Home » openjdk-7 » javax » swing » [javadoc | source]
javax.swing
public interface: MutableComboBoxModel [javadoc | source]

All Implemented Interfaces:
    ComboBoxModel

All Known Implementing Classes:
    OptionComboBoxModel, DefaultComboBoxModel, ItemListModel

A mutable version of ComboBoxModel.
Method from javax.swing.MutableComboBoxModel Summary:
addElement,   insertElementAt,   removeElement,   removeElementAt
Method from javax.swing.MutableComboBoxModel Detail:
 public  void addElement(E item)
    Adds an item at the end of the model. The implementation of this method should notify all registered ListDataListeners that the item has been added.
 public  void insertElementAt(E item,
    int index)
    Adds an item at a specific index. The implementation of this method should notify all registered ListDataListeners that the item has been added.
 public  void removeElement(Object obj)
    Removes an item from the model. The implementation of this method should should notify all registered ListDataListeners that the item has been removed.
 public  void removeElementAt(int index)
    Removes an item at a specific index. The implementation of this method should notify all registered ListDataListeners that the item has been removed.