org.eclipse.jubula.rc.swing.swing.implclasses
Class EventListener

java.lang.Object
  extended by org.eclipse.jubula.rc.swing.swing.implclasses.EventListener
All Implemented Interfaces:
java.awt.event.AWTEventListener, java.util.EventListener

public class EventListener
extends java.lang.Object
implements java.awt.event.AWTEventListener

This Listener waits for a condition in the AWT event queue. If this happens it calls notifyAll on the lock object.

Created:
18.01.2006

Nested Class Summary
static interface EventListener.Condition
          Object that checks if a condition about an event is true or false
 
Constructor Summary
EventListener(org.eclipse.jubula.rc.common.listener.EventLock lock, EventListener.Condition condition)
          constructor
 
Method Summary
 void eventDispatched(java.awt.AWTEvent event)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventListener

public EventListener(org.eclipse.jubula.rc.common.listener.EventLock lock,
                     EventListener.Condition condition)
constructor

Parameters:
lock - a lock
condition - a condition
Method Detail

eventDispatched

public void eventDispatched(java.awt.AWTEvent event)

Specified by:
eventDispatched in interface java.awt.event.AWTEventListener