net.sf.jomic.tools
Class ActionDelegate
java.lang.Object
net.sf.jomic.tools.ActionDelegate
- All Implemented Interfaces:
- ActionListener, EventListener
public class ActionDelegate
- extends Object
- implements ActionListener
Delegate for ActionEvents.
- Author:
- Thomas Aglassinger
|
Constructor Summary |
ActionDelegate(Logger newLogger)
Creates a new delegate with logging messages going to logger. |
ActionDelegate
public ActionDelegate(Logger newLogger)
- Creates a new delegate with logging messages going to logger.
- Parameters:
newLogger - logger where the delegate logs its messages.
actionPerformed
public void actionPerformed(ActionEvent event)
- Specified by:
actionPerformed in interface ActionListener
addActionListener
public void addActionListener(ActionListener listener)
removeActionListener
public void removeActionListener(ActionListener listener)
finalize
protected void finalize()
throws Throwable
- Checks that all listeners have been removed, and warns if not.
- Overrides:
finalize in class Object
- Throws:
Throwable