foxtrot.pumps
Interface EventFilter


public interface EventFilter

Filters AWT events pumped by EventPumps before they're dispatched.

Version:
$Revision: 255 $
See Also:
EventFilterable

Method Summary
 boolean accept(AWTEvent event)
          Callback called by EventPumps to filter the given AWT event.
 

Method Detail

accept

boolean accept(AWTEvent event)
Callback called by EventPumps to filter the given AWT event. Implementations should return true if the event should be dispatched, false otherwise. Beware that installing an EventFilter in one of the synchronous Foxtrot workers, and returning always false from accept(AWTEvent) makes the posts to the worker hang.

Parameters:
event - The event to filter


Copyright © 2011 KnowledgePlaza. All Rights Reserved.