이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 함께 해서 번역을 마치도록 도와 주세요!
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.