foxtrot
Interface EventPump

All Known Implementing Classes:
ConditionalEventPump, QueueEventPump, SunJDK140ConditionalEventPump, SunJDK141ConditionalEventPump, SunJDK14ConditionalEventPump

public interface EventPump

Synchronous Foxtrot workers use an implementation of this interface to pump AWT events from the standard AWT Event Queue while executing Tasks.
Implementations are required to provide a parameterless public constructor.

Version:
$Revision: 259 $

Method Summary
 void pumpEvents(Task task)
          Pumps AWT events from the standard AWT Event Queue and dispatches the events until the given task is completed; must be called from the Event Dispatch Thread.
 

Method Detail

pumpEvents

void pumpEvents(Task task)
Pumps AWT events from the standard AWT Event Queue and dispatches the events until the given task is completed; must be called from the Event Dispatch Thread.
No Exceptions (included RuntimeExceptions) or Errors should escape this method: it must return only when the task is completed.



Copyright © 2011 KnowledgePlaza. All Rights Reserved.