Struct xpcom::interfaces::nsIDOMMouseEvent [] [src]

#[repr(C)]
pub struct nsIDOMMouseEvent { /* fields omitted */ }

interface nsIDOMMouseEvent : nsIDOMUIEvent

/**
 * The nsIDOMMouseEvent interface is the datatype for all mouse events
 * in the Document Object Model.
 *
 * For more information on this interface please see
 * http://www.w3.org/TR/DOM-Level-2-Events/
 */

Methods

impl nsIDOMMouseEvent
[src]

[src]

Cast this nsIDOMMouseEvent to one of its base interfaces.

impl nsIDOMMouseEvent
[src]

MOZ_SOURCE_UNKNOWN: i64 = 0

MOZ_SOURCE_MOUSE: i64 = 1

MOZ_SOURCE_PEN: i64 = 2

MOZ_SOURCE_ERASER: i64 = 3

MOZ_SOURCE_CURSOR: i64 = 4

MOZ_SOURCE_TOUCH: i64 = 5

MOZ_SOURCE_KEYBOARD: i64 = 6

[src]

readonly attribute long screenX;

[src]

readonly attribute long screenY;

[src]

readonly attribute long mozMovementX;

[src]

readonly attribute long mozMovementY;

[src]

readonly attribute long clientX;

[src]

readonly attribute long clientY;

[src]

readonly attribute boolean ctrlKey;

[src]

readonly attribute boolean shiftKey;

[src]

readonly attribute boolean altKey;

[src]

readonly attribute boolean metaKey;

[src]

readonly attribute short button;

[src]

readonly attribute unsigned short buttons;

[src]

readonly attribute nsIDOMEventTarget relatedTarget;

[src]

void initMouseEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in long detailArg, in long screenXArg, in long screenYArg, in long clientXArg, in long clientYArg, in boolean ctrlKeyArg, in boolean altKeyArg, in boolean shiftKeyArg, in boolean metaKeyArg, in unsigned short buttonArg, in nsIDOMEventTarget relatedTargetArg);

[src]

readonly attribute float mozPressure;

[src]

readonly attribute unsigned short mozInputSource;

[src]

bool getModifierState (in DOMString keyArg);

Methods from Deref<Target = nsIDOMUIEvent>

[src]

Cast this nsIDOMUIEvent to one of its base interfaces.

[src]

readonly attribute mozIDOMWindowProxy view;

[src]

readonly attribute long detail;

[src]

void initUIEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in mozIDOMWindow viewArg, in long detailArg);

[src]

readonly attribute long layerX;

[src]

readonly attribute long layerY;

[src]

readonly attribute long pageX;

[src]

readonly attribute long pageY;

[src]

readonly attribute unsigned long which;

[src]

readonly attribute nsIDOMNode rangeParent;

[src]

readonly attribute long rangeOffset;

Trait Implementations

impl XpCom for nsIDOMMouseEvent
[src]

IID: nsIID = nsID(1541060824, 31027, 19548, [182, 209, 171, 52, 72, 18, 55, 247])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMMouseEvent
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMMouseEvent
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.