java.awt.event
Interface ItemListener
-
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- AWTEventMulticaster, Checkbox.AccessibleAWTCheckbox, List.AccessibleAWTList
public interface ItemListener extends java.util.EventListenerThe listener interface for receiving item events. The class that is interested in processing an item event implements this interface. The object created with that class is then registered with a component using the component'saddItemListener
method. When an item-selection event occurs, the listener object'sitemStateChanged
method is invoked.- Since:
- 1.1
- See Also:
ItemSelectable
,ItemEvent
, Tutorial: Writing an Item Listener