Main Page | Packages | Class Tree | Index | Help

xp.events

class MouseWheelListener

Object
  |
  +--xp.events.MouseWheelListener


class MouseWheelListener
extends Object

Listens for mouse wheel events and callsback to mouseWheel(delta:Number, target:MovieClip) method in the parent


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Field Summary

public static
mouseWheelListener
Our singleton

Constructor

public
MouseWheelListener ( )
Constructor

Method Summary

public
attach ( target )
Attach the listener to a component and activate

public
detach ( target )
Detach from a component and stop listening

public
grab ( target )
Temporarily Attach the listener to another component and activate

public
release ( target )
Detach from a component and restore back to ols parent



Field Documentation

mouseWheelListener

public static var mouseWheelListener
Our singleton


Constructor Documentation

MouseWheelListener

public function MouseWheelListener()
Constructor


Method Documentation

attach

public function attach(target)
Attach the listener to a component and activate

Parameters:
target
the component to attach to.

detach

public function detach(target)
Detach from a component and stop listening

Parameters:
target
the component to detach from

grab

public function grab(target)
Temporarily Attach the listener to another component and activate

Parameters:
target
the component to attach to.

release

public function release(target)
Detach from a component and restore back to ols parent

Parameters:
target
the component to detach from

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc