com.sas.awt
Interface ActionSource

All Known Subinterfaces:
ButtonModelInterface, TabBarInterface, TabButtonInterface
All Known Implementing Classes:
BaseButton, NavigationBar, TreeView, TreeView, NavigationBar, GanttChart

public interface ActionSource

Define a type (interface) for an object which emits java.awt.ActionEvent events. This interface provides methods to add and remove listeners for that event.

See Also:
ActionEvent, ActionListener

Method Summary
 void addActionListener(ActionListener listener)
          Add a listener for the java.awt.ActionEvent event.
 void removeActionListener(ActionListener listener)
          Remove a listener for the java.awt.ActionEvent event.
 

Method Detail

addActionListener

public void addActionListener(ActionListener listener)
Add a listener for the java.awt.ActionEvent event.
Parameters:
listener - an object which handles ActionEvent events the listener is not added a second time if it already exists in the list of listeners for this event.

removeActionListener

public void removeActionListener(ActionListener listener)
Remove a listener for the java.awt.ActionEvent event. Nothing happens if the listener is not in the list of listeners for this event.
Parameters:
listener - an object which handles ActionEvent events




Copyright © 2005 SAS Institute Inc. All Rights Reserved.
javadoc generated Thu, 16 Feb 2006 01:44:40