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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com