public class ActionForwarder
extends java.lang.Object
implements java.awt.event.ActionListener, javax.swing.event.ChangeListener
Constructor and Description |
---|
ActionForwarder() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent evt) |
void |
addActionListener(java.awt.event.ActionListener listener)
Adds a new listener to the list of forwardees.
|
void |
removeActionListener(java.awt.event.ActionListener listener)
Removes a listener which was previously added.
|
void |
stateChanged(javax.swing.event.ChangeEvent evt) |
public void addActionListener(java.awt.event.ActionListener listener)
listener
- listener to addpublic void removeActionListener(java.awt.event.ActionListener listener)
listener
- listener to removeaddActionListener(java.awt.event.ActionListener)
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public void stateChanged(javax.swing.event.ChangeEvent evt)
stateChanged
in interface javax.swing.event.ChangeListener
Copyright ? 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.