Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIEventTarget Interface Reference

nsIEventTarget More...

import "nsIEventTarget.idl";

Inheritance diagram for nsIEventTarget:
Inheritance graph
[legend]
Collaboration diagram for nsIEventTarget:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void postEvent (in PLEventPtr aEvent)
 Method for posting an asynchronous event to the event target.
boolean isOnCurrentThread ()
 This method returns true if the event target is the current thread.

Detailed Description

nsIEventTarget

This interface is used to dispatch events to a particular thread. In many cases the event target also supports nsIEventQueue.

Definition at line 52 of file nsIEventTarget.idl.


Member Function Documentation

This method returns true if the event target is the current thread.

Method for posting an asynchronous event to the event target.

If this method succeeds, then the event will be dispatched on the target thread.

Parameters:
aEventThe event to dispatched.

The documentation for this interface was generated from the following file: