home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

Java in a Nutshell

Previous Chapter 20
The java.awt.event Package
Next
 

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()


Previous Home Next
java.awt.event.ItemEvent (JDK 1.1) Book Index java.awt.event.KeyAdapter (JDK 1.1)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java










??????????????@Mail.ru