charvax.swing
Interface MutableComboBoxModel
- ComboBoxModel, ListModel
- DefaultComboBoxModel
public interface MutableComboBoxModel
A mutable version of ComboBoxModel.
void | addElement(Object item) - Add an item to the end of the model.
|
void | insertElementAt(Object obj, int index) - Insert an item at the specified index.
|
void | removeElement(Object obj) - Remove the specified object from the model.
|
void | removeElementAt(int index) - Remove the item at the specified index.
|
addElement
public void addElement(Object item)
Add an item to the end of the model.
insertElementAt
public void insertElementAt(Object obj,
int index)
Insert an item at the specified index.
removeElement
public void removeElement(Object obj)
Remove the specified object from the model.
removeElementAt
public void removeElementAt(int index)
Remove the item at the specified index.