nsIThreadEventFilter
From MDC
This article covers features introduced in Firefox 3
The nsIThreadEventFilter interface may be implemented to determine whether or not an event may be accepted by a nested event queue; see the nsIThreadInternal method pushEventQueue() for more information.
You should implement this interface and its acceptEvent() method, then pass the object implementing it as the filter.
Inherits from: nsISupports
Contents |
nsIThreadObserver is defined in xpcom/threads/nsIThreadInternal.idl. It is scriptable and
unfrozen (hasn't changed since Mozilla 1.9).
[edit] Method overview
[notxpcom] boolean acceptEvent(in nsIRunnable event);
|
[edit] Methods
[edit] acceptEvent()
This method is called to determine whether or not an event may be accepted by a nested event queue.
[notxpcom] boolean acceptEvent( in nsIRunnable event )
[edit] Parameters
- event
- The event being dispatched.
[edit] Return value
Implement this method to return true if the event is accepted, or false to reject it.