Public Member Functions | Public Attributes

nsIDOMXULCommandEvent Interface Reference

This interface is supported by command events, which are dispatched to XUL elements as a result of mouse or keyboard activation. More...

import "nsIDOMXULCommandEvent.idl";

Inheritance diagram for nsIDOMXULCommandEvent:
Collaboration diagram for nsIDOMXULCommandEvent:

List of all members.

Public Member Functions

void initCommandEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMAbstractView viewArg, in long detailArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in nsIDOMEvent sourceEvent)
 Creates a new command event with the given attributes.

Public Attributes

readonly attribute boolean ctrlKey
 Command events support the same set of modifier keys as mouse and key events.
readonly attribute boolean shiftKey
readonly attribute boolean altKey
readonly attribute boolean metaKey
readonly attribute nsIDOMEvent sourceEvent
 If the command event was redispatched because of a command= attribute on the original target, sourceEvent will be set to the original DOM Event.

Detailed Description

This interface is supported by command events, which are dispatched to XUL elements as a result of mouse or keyboard activation.


Member Function Documentation

void nsIDOMXULCommandEvent::initCommandEvent ( in DOMString  typeArg,
in boolean  canBubbleArg,
in boolean  cancelableArg,
in nsIDOMAbstractView  viewArg,
in long  detailArg,
in boolean  ctrlKeyArg,
in boolean  altKeyArg,
in boolean  shiftKeyArg,
in boolean  metaKeyArg,
in nsIDOMEvent  sourceEvent 
)

Creates a new command event with the given attributes.


Member Data Documentation

Command events support the same set of modifier keys as mouse and key events.

If the command event was redispatched because of a command= attribute on the original target, sourceEvent will be set to the original DOM Event.

Otherwise, sourceEvent is null.


The documentation for this interface was generated from the following file: