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.

XULCommandDispatcher

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

Element focusedElement

Window focusedWindow

boolean suppressFocusScroll


Methods

void addCommandUpdater ( Element updater , String events , String targets ) void advanceFocus ( ) void advanceFocusIntoSubtree ( Element elt ) nsIController getControllerForCommand ( char* command ) XULControllers getControllers ( ) void removeCommandUpdater ( Element updater ) void rewindFocus ( ) void updateCommands ( String eventName )

void addCommandUpdater ( Element updater , String events , String targets )

Arguments:
updater
events
targets

void advanceFocus ( )


void advanceFocusIntoSubtree ( Element elt )

Arguments:
elt

nsIController getControllerForCommand ( char* command )

Arguments:
command

XULControllers getControllers ( )


void removeCommandUpdater ( Element updater )

Arguments:
updater

void rewindFocus ( )


void updateCommands ( String eventName )

Arguments:
eventName

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com