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.

nsICommandManager

IID:080D2001-F91E-11D4-A73C-F9242928207C
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void addCommandObserver ( nsIObserver commandObserver , char* commandToObserve ) void doCommand ( char* commandName , nsICommandParams commandParams , nsIDOMWindow targetWindow ) void getCommandState ( char* commandName , nsIDOMWindow targetWindow , nsICommandParams commandParams ) PRBool isCommandEnabled ( char* commandName , nsIDOMWindow targetWindow ) PRBool isCommandSupported ( char* commandName , nsIDOMWindow targetWindow ) void removeCommandObserver ( nsIObserver commandObserver , char* commandObserved )

void addCommandObserver ( nsIObserver commandObserver , char* commandToObserve )

Arguments:
commandObserver
commandToObserve

void doCommand ( char* commandName , nsICommandParams commandParams , nsIDOMWindow targetWindow )

Arguments:
commandName
commandParams
targetWindow

void getCommandState ( char* commandName , nsIDOMWindow targetWindow , nsICommandParams commandParams )

Arguments:
commandName
targetWindow
commandParams

PRBool isCommandEnabled ( char* commandName , nsIDOMWindow targetWindow )

Arguments:
commandName
targetWindow

PRBool isCommandSupported ( char* commandName , nsIDOMWindow targetWindow )

Arguments:
commandName
targetWindow

void removeCommandObserver ( nsIObserver commandObserver , char* commandObserved )

Arguments:
commandObserver
commandObserved

Reference documentation is generated from Mozilla's source.