java.awt.event
Interface ActionListener
- public abstract interface ActionListener
The listener interface for receiving action events. The class that
is interested in processing an action event implements this interface,
and the object created with that class is registered with a component,
using the component's addActionListener method. When the action event
occurs, that object's actionPerformed method is invoked.
actionPerformed
public void actionPerformed(ActionEvent e)
- Invoked when an action occurs.