- Legend to Symbols

-
Interface nokia.maps.dom.MouseEvent
This class represents all mouse-related events.
Note that this class represents an unimplemented interface. It is included here to document its properties. The class is derived from nokia.maps.dom.Event, but, in addition to the properties of the parent class, it has the properties described here.
true) or not (false).
true) or not (false).
eventListeners are currently being processed.
preventDefault() has been called for this event.
null if it is unspecified.
-
mouseoverevent - the property refers to the target over which the mouse pointer or finger is has begun to pass or has passed, if available -
mouseoutevent - the property contains the reference to the target which the mouse is leaving, if available -
dragevent - the property refers to the target that located below the mouse pointer or finger, if available -
dragenter,dragleaveordropevent - the property contains the reference to the event target that is currently being dragged (in other words, the target of thedragstartevent) -
dragendevent - the property refers to the event target on which the dragged object has been dropped successfully; if the drop failed for any reason the property isnull
Therefore, this property only holds information relevant for mouseover, mouseout, drag, dragenter, dragleave, drop or dragend events; otherwise it is null.
true if the modifier is activated.
- 0 - indicates the normal button of the mouse that is used to click on user interface buttons and menu items or to select text (in general this is the left mouse button or the one button on a Macintosh mouse)
- 2 - indicates the contextual property button of the mouse if present (normally, this means the right mouse button that is used to display a context menu)
- 1 - indicates the extra button (typically, the middle button, which is often combined with the mouse wheel)
- values higher than 2 - indicate other mouse buttons that may be present or simulated on some mouse devices
This property is a bitmask where bit zero represents the state of the left
mouse button, bit one the state of the middle mouse button, bit two the
state of the right mouse button and bit three and higher the state of
any further mouse buttons that may be present or simulated. This state is
set for all events. You can detect if a specific button has been pressed,
like this: if (event.buttonState & (1 << button)) ...,
where button is the identifier as defined by the W3C (zero for
the left button, one for the middle button, two for the
right button and three, etc. for further buttons).
Note that within a "mouseup" event, the value of this property is up-to-date.
For example, while the button property may be set to 1 to indicate
that the middle button has been released, bit one in the buttonState
property is already cleared as the button has already been released.
This is a proprietary member and not part of the W3C interface specification this class implements.
true if the modifier is activated.
true if the modifier is activated.
This is a proprietary member and not part of the W3C interface specification this class implements.
This is a proprietary member and not part of the W3C interface specification this class implements.
-
mouseoverevent - the property refers to the target over which the mouse pointer or finger is has begun to pass or has passed, if available -
mouseoutevent - the property contains the reference to the target which the mouse is leaving, if available -
dragevent - the property refers to the target that located below the mouse pointer or finger, if available -
dragenter,dragleaveordropevent - the property contains the reference to the event target that is currently being dragged (in other words, the target of thedragstartevent) -
dragendevent - the property refers to the event target on which the dragged object has been dropped successfully; if the drop failed for any reason the property isnull
Therefore, this property only holds information relevant for mouseover,
mouseout, drag, dragenter,
dragleave, drop or dragend
events; otherwise it is null.
Note that in a drag operation the property reltatedTarget
always contains the necessary counterpart of the event, but only
for simulated events, not for native drag events.
true if the modifier is activated.