Name

LzGlobalMouse — Application-wide control of and information about the mouse.

Synopsis

JavaScript: LzGlobalMouse
Type: Object
Access: public
Topic: LFC.Services
Declared in: WEB-INF/lps/lfc/services/LzGlobalMouse.lzs

Description

The LzGlobalMouse service sends events any time the mouse button state changes, even if mouse events are locked using the LzModeManager API. The LzGlobalMouse is also useful for detecting when the mouse button goes up or down on a non-clickable view.

Use the LzGlobalMouse service in conjunction with LzModeManager's event lock.

Development Note

The global mouse service sends onmouse*** and onclick events when the mouse rollover or button state changes. The argument sent with the events is the view that was clicked. If no view was clicked, the argument is null.

Details

Static Properties (1)

__movecounter
static public var __movecounter = 0.0;

Static Methods (1)

__mouseEvent()
static private function __mouseEvent(eventname, view);

Static Events (3)

onmousedown
static public event onmousedown;
onmousemove
static public event onmousemove;
onmouseup
static public event onmouseup;

JavaScript Synopsis

public var LzGlobalMouse = { ... };