javax.swing
public interface MutableComboBoxModel extends ComboBoxModel
Method Summary | |
---|---|
void | addElement(Object object)
This method adds given object to its data model.
|
void | insertElementAt(Object object, int index)
This method inserts givent element to the data model, at the specified
index.
|
void | removeElement(Object object)
This method removes given element from the data model
|
void | removeElementAt(int index)
This method removes elements located at the given index in the data
model.
|
Parameters: object element to add to the data model.
Parameters: object element to insert index index specifying the position in the data model where the given element should be inserted.
Parameters: object element to remove.
Parameters: index index specifying location of the element to remove.