com.mtp.pounder
Class DefaultFilter

java.lang.Object
  |
  +--com.mtp.pounder.DefaultFilter
All Implemented Interfaces:
Filter

public class DefaultFilter
extends Object
implements Filter

Default Filter, if the Component generating the event is not present in the watcher (that is, it has been filtered) then do not accept the event.

Author:
Matthew Pekar

Field Summary
protected  WindowWatcher windowWatcher
           
 
Constructor Summary
DefaultFilter(WindowWatcher ww)
           
 
Method Summary
 boolean accepts(AWTEvent e)
          Return true if event source is a Component and is present in our windowWatcher.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windowWatcher

protected WindowWatcher windowWatcher
Constructor Detail

DefaultFilter

public DefaultFilter(WindowWatcher ww)
Method Detail

accepts

public boolean accepts(AWTEvent e)
Return true if event source is a Component and is present in our windowWatcher.

Specified by:
accepts in interface Filter


Copyright © 2002 Matthew Pekar. All Rights Reserved.