| Modifier and Type | Method and Description |
|---|---|
| public void | addItemListener(ItemListener
the listener to receive events l)Adds a listener to receive item events when the state of an item is changed by the user. |
| public Object[] | Returns: the list of selected objects, ornullReturns the selected items or |
| public void |
| addItemListener | back to summary |
|---|---|
| public void addItemListener(ItemListener l) Adds a listener to receive item events when the state of an item is
changed by the user. Item events are not sent when an item's
state is set programmatically. If
| |
| getSelectedObjects | back to summary |
|---|---|
| public Object[] getSelectedObjects() Returns the selected items or
| |
| removeItemListener | back to summary |
|---|---|
| public void removeItemListener(ItemListener l) Removes an item listener.
If
| |