| javax.swing.MutableComboBoxModel |
Known Indirect Subclasses
|
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 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
javax.swing.ComboBoxModel
| |||||||||||
From interface
javax.swing.ListModel
| |||||||||||
Adds an item at the end of the model. The implementation of this method
should notify all registered ListDataListeners 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 ListDataListeners 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 ListDataListeners 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 ListDataListeners that the
item has been removed.
| index | location of object to be removed |
|---|