#

| Chapter 21 java.awt.event Reference |

# ItemListener

## Name

ItemListener

##

## Description

Objects that implement the `ItemListener` interface can receive `ItemEvent` objects. Listeners must first register themselves with objects that produce events. When events occur, they are then automatically propagated to all registered listeners.

## Interface Definition

    public abstract interface java.awt.event.ItemListener
       extends java.util.EventListener {
      // Interface Methods
      public abstract void itemStateChanged (ItemEvent e);
    }

## Interface Methods

### itemStateChanged

#### public abstract void itemStateChanged (ItemEvent e)

Parameters

  e

    The item event that occurred.

Description

  Notifies the `ItemListener` that an event occurred.

## See Also

`AWTEventMulticaster`, `EventListener`, `ItemEvent`

ItemEvent |  | KeyAdapter