-
-
|
Modifier and Type |
Method and Description |
|
addItemListener |
void addItemListener(ItemListener l)
Adds a listener to receive item events when the state of an item is
changed by the user.
-
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 l is
null , no exception is thrown and no action is performed.
- Parameters:
l - the listener to receive events- See Also:
ItemEvent
|
|
getSelectedObjects |
java.lang.Object[] getSelectedObjects()
Returns the selected items or null if no
items are selected.
java.lang.Object[] getSelectedObjects()
-
Returns the selected items or null if no
items are selected.
|
|
removeItemListener |
void removeItemListener(ItemListener l)
Removes an item listener.
-
Removes an item listener.
If l is null ,
no exception is thrown and no action is performed.
- Parameters:
l - the listener being removed- See Also:
ItemEvent
|
This document was created by
Dulcet from the OpenJDK sources.
Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.