[Chapter 20] 20.16 java.awt.event.ItemListener (JDK 1.1)

#

| Chapter 20 The java.awt.event Package |

## 20.16 java.awt.event.ItemListener (JDK 1.1)

###

This interface defines the method that an object must implement to "listen" for item events on AWT components. When an `ItemEvent` occurs, an AWT component notifies its registered `ItemListener` objects by invoking their `itemStateChanged()` methods.

    public abstract interface ItemListener extends EventListener {
        // Public Instance Methods
                public abstract void itemStateChanged(ItemEvent e);
    }

### Implemented By:

`AWTEventMulticaster`

### Passed To:

`AWTEventMulticaster.add(), AWTEventMulticaster.remove(), Checkbox.addItemListener(), Checkbox.removeItemListener(), CheckboxMenuItem.addItemListener(), CheckboxMenuItem.removeItemListener(), Choice.addItemListener(), Choice.removeItemListener(), ItemSelectable.addItemListener(), ItemSelectable.removeItemListener(), List.addItemListener(), List.removeItemListener()`

### Returned By:

`AWTEventMulticaster.add(), AWTEventMulticaster.remove()`

java.awt.event.ItemEvent (JDK 1.1) |  | java.awt.event.KeyAdapter (JDK 1.1)