1. /*
  2. * @(#)ActionListener.java 1.13 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.awt.event;
  11. import java.util.EventListener;
  12. /**
  13. * The listener interface for receiving action events.
  14. * The class that is interested in processing an action event
  15. * implements this interface, and the object created with that
  16. * class is registered with a component, using the component's
  17. * <code>addActionListener</code> method. When the action event
  18. * occurs, that object's <code>actionPerformed</code> method is
  19. * invoked.
  20. *
  21. * @see ActionEvent
  22. * @see <a href="http://java.sun.com/docs/books/tutorial/post1.0/ui/eventmodel.html">Tutorial: Java 1.1 Event Model</a>
  23. * @see <a href="http://www.awl.com/cp/javaseries/jcl1_2.html">Reference: The Java Class Libraries (update file)</a>
  24. *
  25. * @author Carl Quinn
  26. * @version 1.13 02/02/00
  27. * @since 1.1
  28. */
  29. public interface ActionListener extends EventListener {
  30. /**
  31. * Invoked when an action occurs.
  32. */
  33. public void actionPerformed(ActionEvent e);
  34. }