ActionListener

Name

ActionListener

[Graphic: Figure from the text]

Description

Objects that implement the ActionListener interface can receive ActionEvent 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.ActionListener extends java.util.EventListener {
 // Interface Methods public abstract void actionPerformed (ActionEvent e);
}

Interface Methods

actionPerformed

public abstract void actionPerformed (ActionEvent e)

See Also

ActionEvent, AWTEventMulticaster, EventListener