|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
, ListModel


public interface MutableComboBoxModel

A mutable version of ComboBoxModel.
| Method Summary | |
|---|---|
void |
addElement
Adds an item at the end of the model. |
void |
insertElementAt
Adds an item at a specific index. |
void |
removeElement
Removes an item from the model. |
void |
removeElementAt
Removes an item at a specific index. |
Methods inherited from interface javax.swing.ComboBoxModel ![]() |
|---|
getSelectedItem |
Methods inherited from interface javax.swing.ListModel ![]() |
|---|
addListDataListener |
| Method Detail |
|---|

void addElement(Object![]()
![]()
obj)
ListDataListeners that the
item has been added.
obj - the Object to be added

void removeElement(Object![]()
![]()
obj)
ListDataListeners that the
item has been removed.
obj - the Object to be removed

void insertElementAt(Object![]()
![]()
obj, int index)
ListDataListeners that the
item has been added.
obj - the Object to be addedindex - location to add the object

void removeElementAt(int index)
ListDataListeners that the
item has been removed.
index - location of object to be removed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||