Overview
Package
Class
Use
Tree
Deprecated
Index
All Classes
Help
Prev Class
Next Class
Sample
Document
Interface java.awt.event.ActionListener
Inherited members: ShowHide
Deprecated: ShowHide
View: ClientSubclassPackageImplementation
java.awt.event

Interface ActionListener

  • All Superinterfaces:
    java.util.EventListener
    All Known Implementing Classes:
    AWTEventMulticaster, List.AccessibleAWTList
    public interface ActionListener extends java.util.EventListener
    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.
    Since:
    1.1
    See Also:
    ActionEvent, Tutorial: Java 1.1 Event Model
    • Methods 
      Modifier and Type Method and Description
      Ordinary member indicator actionPerformed Reveal DetailHide Detail
      void actionPerformed(ActionEvent e)
      Invoked when an action occurs.
      void actionPerformed(ActionEvent e)
      Invoked when an action occurs.
This document was created by Dulcet from the OpenJDK sources. Copyright © 1993, 2012 Oracle and/or its affiliates. All rights reserved.

SourceForge