Return type | Name and parameters |
---|---|
Iterator
|
iterator()
Returns an Iterator which traverses the MutableComboBoxModel one item at a time. |
MutableComboBoxModel
|
leftShift(Object i)
Overloads the left shift operator to provide an easy way to add items to a MutableComboBoxModel. |
void
|
putAt(int index, Object i)
Allow MutableComboBoxModel to work with subscript operators. |
Returns an Iterator which traverses the MutableComboBoxModel one item at a time.
Overloads the left shift operator to provide an easy way to add items to a MutableComboBoxModel.
i
- an item to be added to the model.Allow MutableComboBoxModel to work with subscript operators.
WARNING: this operation does not replace the item at the specified index, rather it inserts the item at that index, thus increasing the size of the model by 1.
index
- an indexi
- the item to insert at the given index