|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for objects which contain a set of items for which zero or more can be selected.
Method Summary | |
void |
addItemListener(ItemListener l)
Add a listener to recieve item events when the state of an item changes. |
Object[] |
getSelectedObjects()
Returns the selected items or null if no items are selected. |
void |
removeItemListener(ItemListener l)
Removes an item listener. |
Method Detail |
public Object[] getSelectedObjects()
public void addItemListener(ItemListener l)
l
- the listener to recieve eventsItemEvent
public void removeItemListener(ItemListener l)
l
- the listener being removedItemEvent
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |