Back to index

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

import "nsIScriptEventHandler.idl";

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

List of all members.

Public Member Functions

boolean IsSameEvent (in AString aObjectName, in AString aEventName, in unsigned long aArgCount)
 IsSameEvent:
void Invoke (in nsISupports aTargetObject, in voidPtr aArgs, in unsigned long aArgCount)
 Invoke:

Detailed Description

Definition at line 43 of file nsIScriptEventHandler.idl.


Member Function Documentation

void nsIScriptEventHandler::Invoke ( in nsISupports  aTargetObject,
in voidPtr  aArgs,
in unsigned long  aArgCount 
)

Invoke:

Executes this script handler.

Parameters:
aTargetObjectObject to which the script handler is bound.
aArgsArray of arguments passed to the script handler. This is an array of jsvals.
aArgCountNumber of elements in the aArgs array.
boolean nsIScriptEventHandler::IsSameEvent ( in AString  aObjectName,
in AString  aEventName,
in unsigned long  aArgCount 
)

IsSameEvent:

Determines if this script event handler is bound to the given object and event name.

Parameters:
aObjectNameName of the object raising the event.
aEventNameName of the event being raised.
aArgCountNumber of arguments expected by the event handler.

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