javax.swing.MutableComboBoxModel |
![]() |
A mutable version of ComboBoxModel
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds an item at the end of the model.
| |||||||||||
Adds an item at a specific index.
| |||||||||||
Removes an item from the model.
| |||||||||||
Removes an item at a specific index.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Adds an item at the end of the model. The implementation of this method
should notify all registered ListDataListener
s that the
item has been added.
obj | the Object to be added
|
---|
Adds an item at a specific index. The implementation of this method
should notify all registered ListDataListener
s that the
item has been added.
obj | the Object to be added |
---|---|
index | location to add the object |
Removes an item from the model. The implementation of this method should
should notify all registered ListDataListener
s that the
item has been removed.
obj | the Object to be removed
|
---|
Removes an item at a specific index. The implementation of this method
should notify all registered ListDataListener
s that the
item has been removed.
index | location of object to be removed |
---|