Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIThreadEventFilter

The nsIThreadEventFilter interface may be implemented to determine whether or not an event may be accepted by a nested event queue; see nsIThreadInternal.PushEventQueue() for more information.

You should implement this interface and its acceptEvent() method, then pass the object implementing it as the filter.

Please add a summary to this article.
  Last changed in Gecko 1.9 (Firefox 3)

Inherits from: nsISupports

Method overview

boolean acceptEvent(in nsIRunnable event);Violates the XPCOM interface guidelines

Methods

Violates the XPCOM interface guidelines

acceptEvent()

This method is called to determine whether or not an event may be accepted by a nested event queue. (see nsIThreadInternal.PushEventQueue())

Warning: This method must not make any calls on the thread object.

boolean acceptEvent(
  in nsIRunnable event
);
Parameters
event
The event being dispatched.
Return value

Implement this method to return true if the event is accepted, or false to reject it.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh, Kohei
 Last updated by: Sheppy,