nsIScriptEventHandler

IID:375f787f-8d3a-4344-b540-293d5645c22c
Inherits From:nsISupports

Methods

void Invoke ( nsISupports targetObject , voidPtr* args , PRUint32 argCount ) PRBool IsSameEvent ( AString objectName , AString eventName , PRUint32 argCount )

void Invoke ( nsISupports targetObject , voidPtr* args , PRUint32 argCount )

Invoke:

Executes this script handler.

Arguments:
targetObject: Object to which the script handler is bound.
args: Array of arguments passed to the script handler. This is an array of jsvals.
argCount: Number of elements in the args array.

PRBool IsSameEvent ( AString objectName , AString eventName , PRUint32 argCount )

IsSameEvent:

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

Arguments:
objectName: Name of the object raising the event.
eventName: Name of the event being raised.
argCount: Number of arguments expected by the event handler.

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com