Return type | Name and parameters |
---|---|
void
|
clear()
Removes all items from the JComboBox. |
Object
|
getAt(int index)
Support the subscript operator for JComboBox. |
Iterator
|
iterator()
Returns an Iterator which traverses the ComboBox one item at a time. |
JComboBox
|
leftShift(Object i)
Overloads the left shift operator to provide an easy way to add items to a JComboBox. |
int
|
size()
Provide the standard Groovy size() method for JComboBox .
|
Removes all items from the JComboBox.
Support the subscript operator for JComboBox.
index
- the index of the item to get.Returns an Iterator which traverses the ComboBox one item at a time.
Overloads the left shift operator to provide an easy way to add items to a JComboBox.
i
- an item to be added to the comboBox..Provide the standard Groovy size()
method for JComboBox
.