Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR 216 (Maintenance Release)

Uses of Interface
java.awt.event.ActionListener

Packages that use ActionListener
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
 

Uses of ActionListener in java.awt
 

Classes in java.awt that implement ActionListener
 class AWTEventMulticaster
          A class which implements efficient and thread-safe multi-cast event dispatching for the AWT events defined in the java.awt.event package.
 

Methods in java.awt that return ActionListener
 ActionListener[] TextField.getActionListeners()
          Returns an array of all the action listeners registered on this textfield.
 ActionListener[] MenuItem.getActionListeners()
          Returns an array of all the action listeners registered on this menu item.
 ActionListener[] List.getActionListeners()
          Returns an array of all the action listeners registered on this list.
 ActionListener[] Button.getActionListeners()
          Returns an array of all the action listeners registered on this button.
static ActionListener AWTEventMulticaster.add(ActionListener a, ActionListener b)
          Adds action-listener-a with action-listener-b and returns the resulting multicast listener.
static ActionListener AWTEventMulticaster.remove(ActionListener l, ActionListener oldl)
          Removes the old action-listener from action-listener-l and returns the resulting multicast listener.
 

Methods in java.awt with parameters of type ActionListener
 void TextField.addActionListener(ActionListener l)
          Adds the specified action listener to receive action events from this text field.
 void TextField.removeActionListener(ActionListener l)
          Removes the specified action listener so that it no longer receives action events from this text field.
 void MenuItem.addActionListener(ActionListener l)
          Adds the specified action listener to receive action events from this menu item.
 void MenuItem.removeActionListener(ActionListener l)
          Removes the specified action listener so it no longer receives action events from this menu item.
 void List.addActionListener(ActionListener l)
          Adds the specified action listener to receive action events from this list.
 void List.removeActionListener(ActionListener l)
          Removes the specified action listener so that it no longer receives action events from this list.
 void Button.addActionListener(ActionListener l)
          Adds the specified action listener to receive action events from this button.
 void Button.removeActionListener(ActionListener l)
          Removes the specified action listener so that it no longer receives action events from this button.
static ActionListener AWTEventMulticaster.add(ActionListener a, ActionListener b)
          Adds action-listener-a with action-listener-b and returns the resulting multicast listener.
static ActionListener AWTEventMulticaster.remove(ActionListener l, ActionListener oldl)
          Removes the old action-listener from action-listener-l and returns the resulting multicast listener.
 


JSR 216 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 216 specification.