Packagedom.events
Classpublic class MouseMultiWheelEvent
InheritanceMouseMultiWheelEvent Inheritance MouseEvent Inheritance UIEvent Inheritance Event Inheritance Object

Introduced in: DOM 3 Events 

The MouseMultiWheelEvent interface provides specific contextual information associated with mouse multi wheel events.

To create an instance of the MouseMultiWheelEvent interface, use the DocumentEvent.createEvent("MouseMultiWheelEvent") method call.

See also

W3C - DOM 3 Events: MouseMultiWheelEvent


Public Properties
 PropertyDefined By
 InheritedDOM 2 Events altKey : Boolean
[read-only] Refer to the KeyboardEvent.altKey attribute.
MouseEvent
 InheritedDOM 2 Events bubbles : Boolean
[read-only] Used to indicate whether or not an event is a bubbling event.
Event
 InheritedDOM 2 Events button : Number
[read-only] Returns an integer value indicating the button that changed state.
MouseEvent
 InheritedDOM 2 Events cancelable : Boolean
[read-only] Indicates whether the event is cancelable or not.
Event
 InheritedCSSOM View clientX : Number
[read-only] Returns the horizontal coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page).
MouseEvent
 InheritedCSSOM View clientY : Number
[read-only] Returns the vertical coordinate within the application's client area at which the event occurred (as opposed to the coordinates within the page).
MouseEvent
 InheritedDOM 2 Events ctrlKey : Boolean
[read-only] Refer to the KeyboardEvent.ctrlKey attribute.
MouseEvent
 InheritedDOM 2 Events currentTarget : EventTarget
[read-only] Identifies the current target for the event, as the event traverses the DOM.
Event
 InheritedDOM 3 Events defaulPrevented : Boolean
[read-only] Used to indicate whether Event.preventDefault() has been called for this event.
Event
 InheritedDOM 2 Events detail : Number
[read-only] Specifies some detail information about the Event, depending on the type of event.
UIEvent
 InheritedDOM 2 Events eventPhase : Number
[read-only] Used to indicate which phase of event flow is currently being accomplished.
Event
 InheritedNon-Standard explicitOriginalTarget : nsIDOMEventTarget
[read-only] The explicit original target of the event.
Event
 InheritedNon-Standard isChar : Boolean
[read-only] Returns a boolean indicating whether the event produced a key character or not.
UIEvent
 InheritedNon-Standard isTrusted : Boolean
[read-only] Determines if the event was from the user or script generated.
Event
 InheritedNon-Standard layerX : Number
[read-only] Returns the horizontal coordinate of the event relative to the current layer.
UIEvent
 InheritedNon-Standard layerY : Number
[read-only] Returns the vertical coordinate of the event relative to the current layer.
UIEvent
 InheritedDOM 2 Events metaKey : Boolean
[read-only] Refer to the KeyboardEvent.metaKey attribute.
MouseEvent
 InheritedDOM 3 Events namespaceURI : DOMString
[read-only] The namespace URI associated with this event at initialization time, or null if it is unspecified.
Event
 InheritedCSSOM View offsetX : Number
[read-only] Returns the horizontal coordinate, as number of CSS pixels, of the position where the event occurred relative to the origin of the padding box of the target node.
MouseEvent
 InheritedCSSOM View offsetY : Number
[read-only] Returns the vertical coordinate, as number of CSS pixels, of the position where the event occurred relative to the origin of the padding box of the target node.
MouseEvent
 InheritedNon-Standard originalTarget : *
[read-only] The original target of the event before any retargetings.
Event
 InheritedCSSOM View pageX : Number
[override] [read-only] Returns the horizontal coordinate of the event relative to whole document.
MouseEvent
 InheritedCSSOM View pageY : Number
[override] [read-only] Returns the vertical coordinate of the event relative to the whole document.
MouseEvent
 InheritedDOM 2 Events relatedTarget : EventTarget
[read-only] Used to identify a secondary EventTarget related to a UI event, depending on the type of event.
MouseEvent
 InheritedCSSOM View screenX : Number
[read-only] Returns the horizontal coordinate of the event within the screen as a whole.
MouseEvent
 InheritedCSSOM View screenY : Number
[read-only] Returns the vertical coordinate of the event within the screen as a whole.
MouseEvent
 InheritedDOM 2 Events shiftKey : Boolean
[read-only] Refer to the KeyboardEvent.shiftKey attribute.
MouseEvent
 InheritedDOM 2 Events target : EventTarget
[read-only] Used to indicate the event target.
Event
 InheritedDOM 2 Events timeStamp : DOMTimeStamp
[read-only] Used to specify the time at which the event was created in milliseconds relative to 1970-01-01T00:00:00Z.
Event
 InheritedDOM 2 Events type : DOMString
[read-only] The local name of the event type.
Event
 InheritedDOM 2 Events view : AbstractView
[read-only] Returns the AbstractView object from which the event was generated.
UIEvent
  DOM 3 Events wheelDeltaX : Number
[read-only] The distance the wheel has rotated around the x-axis.
MouseMultiWheelEvent
  DOM 3 Events wheelDeltaY : Number
[read-only] The distance the wheel has rotated around the y-axis.
MouseMultiWheelEvent
  DOM 3 Events wheelDeltaZ : Number
[read-only] The distance the wheel has rotated around the z-axis.
MouseMultiWheelEvent
 InheritedNon-Standard which : DOMString
[read-only] Returns the numeric keyCode of the key pressed, or the character code (charCode) for an alphanumeric key pressed.
UIEvent
 InheritedCSSOM View x : Number
[read-only] Returns the value of pageX.
MouseEvent
 InheritedCSSOM View y : Number
[read-only] Returns the value of pageY.
MouseEvent
Public Methods
 MethodDefined By
 Inherited
DOM 3 Events getModifierState(keyIdentifierArg:DOMString):Boolean
Queries the state of a modifier using a key identifier.
MouseEvent
 Inherited
DOM 2 Events initEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean):void
Initializes attributes of an Event created through the DocumentEvent.createEvent method.
Event
 Inherited
DOM 3 Events initEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean):void
Initializes attributes of an Event object.
Event
 Inherited
DOM 2 Events initMouseEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, viewArg:AbstractView, detailArg:Number, screenXArg:Number, screenYArg:Number, clientXArg:Number, clientYArg:Number, ctrlKeyArg:Boolean, altKeyArg:Boolean, shiftKeyArg:Boolean, metaKeyArg:Boolean, buttonArg:Number, relatedTargetArg:EventTarget):void
Initializes attributes of a MouseEvent object.
MouseEvent
 Inherited
DOM 3 Events initMouseEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, viewArg:AbstractView, detailArg:Number, screenXArg:Number, screenYArg:Number, clientXArg:Number, clientYArg:Number, ctrlKeyArg:Boolean, altKeyArg:Boolean, shiftKeyArg:Boolean, metaKeyArg:Boolean, buttonArg:Number, relatedTargetArg:EventTarget, modifiersListArg:DOMString):void
Initializes attributes of a MouseEvent object.
MouseEvent
  
DOM 3 Events initMouseMultiWheelEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, viewArg:AbstractView, detailArg:Number, screenXArg:Number, screenYArg:Number, clientXArg:Number, clientYArg:Number, buttonArg:Number, relatedTargetArg:EventTarget, modifiersListArg:DOMString, wheelDeltaXArg:Number, wheelDeltaYArg:Number, wheelDeltaZArg:Number):void
Initializes attributes of a MouseMultiWheelEvent object.
MouseMultiWheelEvent
 Inherited
DOM 2 Events initUIEvent(typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, viewArg:AbstractView, detailArg:Number):void
Initializes attributes of an UIEvent object.
UIEvent
 Inherited
DOM 3 Events initUIEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, viewArg:AbstractView, detailArg:Number):void
Initializes attributes of an UIEvent object.
UIEvent
 Inherited
 Obsolete preventBubble():void
Prevents the event from bubbling.
Event
 Inherited
 Obsolete preventCapture():void
This method is deprecated in favor of standard stopPropagation and is removed in Gecko 1.9.
Event
 Inherited
DOM 2 Events preventDefault():void
Cancels the event if it is cancelable, without stopping further propagation of the event.
Event
 Inherited
DOM 3 Events stopImmediatePropogation():void
Prevents other event listeners from being triggered and, unlike Event.stopPropagation() its effect is immediate .
Event
 Inherited
DOM 2 Events stopPropogation():void
Prevents other event listeners from being triggered but its effect is deferred until all event listeners attached on the Event.currentTarget have been triggered .
Event
Public Constants
 ConstantDefined By
 InheritedHTML 4.0 abort : String = abort
[static] Loading of a resource has been aborted.
UIEvent
 InheritedDOM 2 Events AT_TARGET : Number = 2
[static] The current event is in the target phase, i.e.
Event
 InheritedDOM 2 Events blur : String = blur
[static] An event target loses focus.
UIEvent
 InheritedDOM 2 Events BUBBLING_PHASE : Number = 3
[static] The current event phase is the bubbling phase.
Event
 InheritedDOM 2 Events CAPTURING_PHASE : Number = 1
[static] The current event phase is the capture phase.
Event
 InheritedHTML 4.0 change : String = change
[static] A control loses the input focus and its value has been modified since gaining focus.
UIEvent
 InheritedHTML 4.01 click : String = click
[static] A pointing device button is clicked over an element.
MouseEvent
 InheritedHTML 4.01 dblclick : String = dblclick
[static] A pointing device button is clicked twice over an element.
MouseEvent
 InheritedDOM 2 Events DOMActivate : String = DOMActivate
[static] Refer to Activation requests and behavior.
UIEvent
 InheritedDOM 2 Events DOMFocusIn : String = DOMFocusIn
[static] An event target receives focus.
UIEvent
 InheritedDOM 2 Events DOMFocusOut : String = DOMFocusOut
[static] An event target loses focus.
UIEvent
 InheritedHTML 4.0 error : String = error
[static] A resource failed to load, or has been loaded but cannot be interpreted according to its semantics such as an invalid image, a script execution error, or non-well-formed XML.
UIEvent
 InheritedDOM 2 Events focus : String = focus
[static] An event target receives focus.
UIEvent
 InheritedHTML 4.0 load : String = load
[static] The DOM Implementation finishes loading the resource (such as the document) and any dependent resources (such as images, style sheets, or scripts).
UIEvent
 InheritedHTML 4.01 mousedown : String = mousedown
[static] A pointing device button is pressed over an element.
MouseEvent
 InheritedHTML 4.01 mousemove : String = mousemove
[static] A pointing device is moved while it is over an element.
MouseEvent
  DOM 3 Events mousemultiwheel : String = mousemultiwheel
[static] A mouse wheel has been rotated.
MouseMultiWheelEvent
 InheritedHTML 4.01 mouseout : String = mouseout
[static] A pointing device is moved away from an element.
MouseEvent
 InheritedHTML 4.01 mouseover : String = mouseover
[static] A pointing device is moved onto an element.
MouseEvent
 InheritedHTML 4.01 mouseup : String = mouseup
[static] A pointing device button is released over an element.
MouseEvent
 InheritedHTML 4.0 reset : String = reset
[static] A form, such as a [HTML 4.01] or [XHTML 1.0] form, is reset.
UIEvent
 InheritedDOM 2 Events resize : String = resize
[static] A document view or an element has been resized.
UIEvent
 InheritedDOM 2 Events scroll : String = scroll
[static] A document view or an element has been scrolled.
UIEvent
 InheritedHTML 4.0 select : String = select
[static] A user selects some text.
UIEvent
 InheritedHTML 4.0 submit : String = submit
[static] A form, such as a [HTML 4.01] or [XHTML 1.0] form, is submitted.
UIEvent
 InheritedHTML 4.0 unload : String = unload
[static] The DOM implementation removes from the environment the resource (such as the document) or any dependent resources (such as images, style sheets, scripts).
UIEvent
Property Detail
DOM 3 Events wheelDeltaXproperty
wheelDeltaX:Number  [read-only]

Introduced in: DOM 3 Events 

The distance the wheel has rotated around the x-axis.


Implementation
    public function get wheelDeltaX():Number

See also

DOM 3 Events wheelDeltaYproperty 
wheelDeltaY:Number  [read-only]

Introduced in: DOM 3 Events 

The distance the wheel has rotated around the y-axis.


Implementation
    public function get wheelDeltaY():Number

See also

DOM 3 Events wheelDeltaZproperty 
wheelDeltaZ:Number  [read-only]

Introduced in: DOM 3 Events 

The distance the wheel has rotated around the z-axis.


Implementation
    public function get wheelDeltaZ():Number

See also

Method Detail
DOM 3 Events initMouseMultiWheelEventNS()method
public function initMouseMultiWheelEventNS(namespaceURIArg:DOMString, typeArg:DOMString, canBubbleArg:Boolean, cancelableArg:Boolean, viewArg:AbstractView, detailArg:Number, screenXArg:Number, screenYArg:Number, clientXArg:Number, clientYArg:Number, buttonArg:Number, relatedTargetArg:EventTarget, modifiersListArg:DOMString, wheelDeltaXArg:Number, wheelDeltaYArg:Number, wheelDeltaZArg:Number):void

Introduced in: DOM 3 Events 

Initializes attributes of a MouseMultiWheelEvent object. This method has the same behavior as MouseEvent.initMouseEventNS().

Parameters

namespaceURIArg:DOMString — Specifies Event.namespaceURI, the namespace URI associated with this event, or null if no namespace.
 
typeArg:DOMString — Specifies Event.type, the local name of the event type.
 
canBubbleArg:Boolean — Specifies Event.bubbles. This parameter overrides the intrinsic bubbling behavior of the event.
 
cancelableArg:Boolean — Specifies Event.cancelable. This parameter overrides the intrinsic cancelable behavior of the event.
 
viewArg:AbstractView — Specifies UIEvent.view. This value may be null.
 
detailArg:Number — Specifies UIEvent.detail.
 
screenXArg:Number — Refer to the MouseEvent.initMouseEventNS() method for a description of this parameter.
 
screenYArg:Number — Refer to the MouseEvent.initMouseEventNS() method for a description of this parameter.
 
clientXArg:Number — Refer to the MouseEvent.initMouseEventNS() method for a description of this parameter.
 
clientYArg:Number — Refer to the MouseEvent.initMouseEventNS() method for a description of this parameter.
 
buttonArg:Number — Refer to the MouseEvent.initMouseEventNS() method for a description of this parameter.
 
relatedTargetArg:EventTarget — Refer to the MouseEvent.initMouseEventNS() method for a description of this parameter.
 
modifiersListArg:DOMString — Refer to the MouseEvent.initMouseEventNS() method for a description of this parameter.
 
wheelDeltaXArg:Number — Specifies MouseMultiWheelEvent.wheelDeltaX.
 
wheelDeltaYArg:Number — Specifies MouseMultiWheelEvent.wheelDeltaY.
 
wheelDeltaZArg:Number — Specifies MouseMultiWheelEvent.wheelDeltaZ.

See also

Constant Detail
DOM 3 Events mousemultiwheelConstant
public static const mousemultiwheel:String = mousemultiwheel

Introduced in: DOM 3 Events 

A mouse wheel has been rotated. A default action of user agent generated event objects of this type causes implementations to dispatch a mousewheel event iff it supports that event type and MouseMultiWheelEvent.wheelDeltaY is non-zero.

TitleValue
NamespaceNone
CancelableYes
BubblesYes
TargetDocument, Element
Context infoMouseMultiWheelEvent.wheelDeltaX, MouseMultiWheelEvent.wheelDeltaY, MouseMultiWheelEvent.wheelDeltaZ, MouseEvent.altKey, MouseEvent.ctrlKey, MouseEvent.shiftKey, MouseEvent.metaKey, and UIEvent.view are in use. MouseEvent.screenX, MouseEvent.screenY, MouseEvent.clientX, MouseEvent.clientY, and MouseEvent.button are in use if the wheel is associated to a pointing device. MouseEvent.relatedTarget indicates the event target the pointing device is pointing at, if any. UIEvent.detail is not in use.

See also