[scriptable, uuid(9be8096b-f795-4045-9664-0c275f36fe5b)]
interface nsIDOMNSEvent : nsISupports

Constants


          
const long MOUSEDOWN = 1

          
const long MOUSEUP = 2

          
const long MOUSEOVER = 4

          
const long MOUSEOUT = 8

          
const long MOUSEMOVE = 16

          
const long MOUSEDRAG = 32

          
const long CLICK = 64

          
const long DBLCLICK = 128

          
const long KEYDOWN = 256

          
const long KEYUP = 512

          
const long KEYPRESS = 1024

          
const long DRAGDROP = 2048

          
const long FOCUS = 4096

          
const long BLUR = 8192

          
const long SELECT = 16384

          
const long CHANGE = 32768

          
const long RESET = 65536

          
const long SUBMIT = 131072

          
const long SCROLL = 262144

          
const long LOAD = 524288

          
const long UNLOAD = 1048576

          
const long XFER_DONE = 2097152

          
const long ABORT = 4194304

          
const long ERROR = 8388608

          
const long LOCATE = 16777216

          
const long MOVE = 33554432

          
const long RESIZE = 67108864

          
const long FORWARD = 134217728

          
const long HELP = 268435456

          
const long BACK = 536870912

          
const long TEXT = 1073741824

          
const long ALT_MASK = 1

          
const long CONTROL_MASK = 2

          
const long SHIFT_MASK = 4

          
const long META_MASK = 8

Attributes

 The explicit original target of the event.  If the event was retargeted
 for some reason other than an anonymous boundary crossing, this will be set
 to the target before the retargeting occurs.  For example, mouse events
 are retargeted to their parent node when they happen over text nodes (bug
 185889), and in that case .target will show the parent and
 .explicitOriginalTarget will show the text node.
 .explicitOriginalTarget differs from .originalTarget in that it will never
 contain anonymous content.
readonly attribute nsIDOMEventTarget explicitOriginalTarget

          
readonly attribute boolean isTrusted
 The original target of the event, before any retargetings. */
readonly attribute nsIDOMEventTarget originalTarget

          
[noscript] readonly attribute nsIDOMEventTarget tmpRealOriginalTarget

Methods


          
boolean getPreventDefault()
 @deprecated Use nsIDOMEvent::stopPropagation.
void preventBubble()
 @deprecated Use nsIDOMEvent::stopPropagation.
void preventCapture()