charvax.swing
Interface MutableComboBoxModel

All Superinterfaces:
ComboBoxModel, ListModel
All Known Implementing Classes:
DefaultComboBoxModel

public interface MutableComboBoxModel
extends ComboBoxModel

A mutable version of ComboBoxModel.


Method Summary
 void addElement(java.lang.Object item)
          Add an item to the end of the model.
 void insertElementAt(java.lang.Object obj, int index)
          Insert an item at the specified index.
 void removeElement(java.lang.Object obj)
          Remove the specified object from the model.
 void removeElementAt(int index)
          Remove the item at the specified index.
 
Methods inherited from interface charvax.swing.ComboBoxModel
getSelectedItem, setSelectedItem
 
Methods inherited from interface charvax.swing.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
 

Method Detail

addElement

public void addElement(java.lang.Object item)
Add an item to the end of the model.


insertElementAt

public void insertElementAt(java.lang.Object obj,
                            int index)
Insert an item at the specified index.


removeElement

public void removeElement(java.lang.Object obj)
Remove the specified object from the model.


removeElementAt

public void removeElementAt(int index)
Remove the item at the specified index.