|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
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 Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Oracle and/or its affiliates, in the US and other countries.
Copyright © 1995, 2010 Oracle and/or its affiliates. All rights reserved.