Package: pumpkin.events

DragEvent


Description

The DragEvent class is used for mouse drag drop operations.



Constructors

DragEvent

Create new MouseEvent.

DragEvent

Create new MouseEvent, bubbles and cancelable.


Variables

QUERY

Drag query event.

DROP

Drop event.

draggedItem

Object being dragged.

draggedSource

Source data being dragged.

acceptedTarget

Object that accepts the drag query event.


Inherited members

Functions

toEvent< T >

Cast event to a abstracted type.

toTarget< T >

Cast target to type.

isCancelled

Returns true if event propagation was stoped.

isImmediateCancelled

Returns true if event propagation was stoped.

cancel

[dev]

cancelImmediate

[dev]


Variables

ENTER_FRAME

Enter frame event.

RESIZE

DisplayObject resize event.

COMPLETE

General completion event.

CHANGED

Changed event.

ADDED_TO_STAGE

Display object or one of its parents added to the stage.

REMOVED_FROM_STAGE

Display object or one of its parents removed from the stage.

type

Event type eg.

bubbles

Event bubbles up the display list hierarchy.

cancelable

Event is cancelable.

currentTarget

Current event target trigger or the object dispatchEvent() is bieng called ( use target instead ).

target

The target object dispatchEvent() is bieng called on.

used

Is the event used or consumed eg.

eventPhase

Current EventPhase id.