WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIController

IID:D5B61B82-1DA4-11d3-BF87-00105A1B0627
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void doCommand ( char* command ) PRBool isCommandEnabled ( char* command ) void onEvent ( char* eventName ) PRBool supportsCommand ( char* command )

void doCommand ( char* command )

Arguments:
command

PRBool isCommandEnabled ( char* command )

Arguments:
command

void onEvent ( char* eventName )

Arguments:
eventName

PRBool supportsCommand ( char* command )

Arguments:
command

References

This interface is passed as an argument to the following methods:

nsIControllers.appendController, nsIControllers.getControllerId, nsIControllers.insertControllerAt, nsIControllers.removeController

This interface is returned from the following methods:

nsIControllers.getControllerAt, nsIControllers.getControllerById, nsIControllers.getControllerForCommand, nsIControllers.removeControllerAt, nsIDOMXULCommandDispatcher.getControllerForCommand

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com