Class Index | File Index

Classes


Class lime.events.Event


Defined in: event.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
lime.events.Event(dispatcher)
Dfkit Event object
Method Summary
Method Attributes Method Name and Description
 
Retunr new event with same parameters
 
release(opt_type)
Release all swllowed handlers.
 
startDrag(snapToCenter, box, opt_targetObject)
Start dragging sequence from current event
 
swallow(type, handler, opt_deny_shared)
Swallow an event.
Class Detail
lime.events.Event(dispatcher)
Dfkit Event object
Parameters:
{lime.events.EventDispatcher} dispatcher
Dispatcher.
Method Detail
{lime.events.Event} clone()
Retunr new event with same parameters
Returns:
{lime.events.Event} event.

release(opt_type)
Release all swllowed handlers.
Parameters:
{string|Array.} opt_type
Event types to release.

{lime.events.Drag} startDrag(snapToCenter, box, opt_targetObject)
Start dragging sequence from current event
Parameters:
{boolean} snapToCenter
Drag from center or not.
{goog.math.Box} box
Limited area where dragging is possible.
{lime.Node=} opt_targetObject
Different target object to drag.
Returns:
{lime.events.Drag} New Drag object.

swallow(type, handler, opt_deny_shared)
Swallow an event. This means that next event from the same interaction will be sent directly to handler without any search
Parameters:
{string|Array.} type
Event types to swallow.
{function(lime.events.Event)} handler
Function to call on event.
{boolean=} opt_deny_shared
Deny further actions for same event.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 30 2011 11:27:22 GMT+0300 (EEST)