nsIDOMNSEvent

IID:e565d518-4510-407f-a3d9-3b4107549c6d
Inherits From:nsISupports

Constants

PRInt32 MOUSEDOWN = 1
PRInt32 MOUSEUP = 2
PRInt32 MOUSEOVER = 4
PRInt32 MOUSEOUT = 8
PRInt32 MOUSEMOVE = 16
PRInt32 MOUSEDRAG = 32
PRInt32 CLICK = 64
PRInt32 DBLCLICK = 128
PRInt32 KEYDOWN = 256
PRInt32 KEYUP = 512
PRInt32 KEYPRESS = 1024
PRInt32 DRAGDROP = 2048
PRInt32 FOCUS = 4096
PRInt32 BLUR = 8192
PRInt32 SELECT = 16384
PRInt32 CHANGE = 32768
PRInt32 RESET = 65536
PRInt32 SUBMIT = 131072
PRInt32 SCROLL = 262144
PRInt32 LOAD = 524288
PRInt32 UNLOAD = 1048576
PRInt32 XFER_DONE = 2097152
PRInt32 ABORT = 4194304
PRInt32 ERROR = 8388608
PRInt32 LOCATE = 16777216
PRInt32 MOVE = 33554432
PRInt32 RESIZE = 67108864
PRInt32 FORWARD = 134217728
PRInt32 HELP = 268435456
PRInt32 BACK = 536870912
PRInt32 TEXT = 1073741824
PRInt32 ALT_MASK = 1
PRInt32 CONTROL_MASK = 2
PRInt32 SHIFT_MASK = 4
PRInt32 META_MASK = 8

Properties

readonly nsIDOMEventTarget explicitOriginalTarget

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 PRBool isTrusted

readonly nsIDOMEventTarget originalTarget

readonly nsIDOMEventTarget tmpRealOriginalTarget


Methods

void preventBubble ( ) void preventCapture ( )

void preventBubble ( )


void preventCapture ( )

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com