Copyright 2012-02-25 Werner Randelshofer

ch.randelshofer.gui.event
Class DispatchedActionListener

java.lang.Object
  extended by ch.randelshofer.gui.event.DispatchedActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class DispatchedActionListener
extends java.lang.Object
implements java.awt.event.ActionListener

Invokes the actionPerformed event on the background Thread provided by an EventDispatcher. Note: The ActionEventListener who receives this event must be able to cope with a call to method #actionPerformed on a different thread than the user event thread.

Version:
1.1 2002-02-05 Transferred from package ch.randelshofer.util to ch.randelshofer.gui.event.
1.0 2000-10-09
Author:
Werner Randelshofer, Hausmatt 10, CH-6405 Immensee, Switzerland

Constructor Summary
DispatchedActionListener(java.awt.event.ActionListener l, EventDispatcher d)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatchedActionListener

public DispatchedActionListener(java.awt.event.ActionListener l,
                                EventDispatcher d)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

Copyright 2012-02-25 Werner Randelshofer