ActionListener Interface
Package: java.awt
ActionListener
is the interface that must be implemented by classes that will handle action events.
Method
Method |
Description |
|
This method is invoked when an action is performed on a control with which this class is registered as an action event listener. |
For an example of how to implement this interface to handle a button click, see JButton Class.