public interface ItemSelectable
| Modifier and Type | Method and Description |
|---|---|
void |
addItemListener(ItemListener
Adds a listener to receive item events when the state of an item is changed by the user.
|
Object |
getSelectedObjects()
Returns the selected items or
null if no items are selected.
|
void |
removeItemListener(ItemListener
Removes an item listener.
|
Object[] getSelectedObjects()
null if no items are selected.
void addItemListener(ItemListenerl)
l is
null, no exception is thrown and no action is performed.
l - the listener to receive events
ItemEvent
void removeItemListener(ItemListenerl)
l is
null, no exception is thrown and no action is performed.
l - the listener being removed
ItemEvent