Package | mx.events |
Class | public class InterDragManagerEvent |
Inheritance | InterDragManagerEvent DragEvent flash.events.MouseEvent |
Property | Defined by | ||
---|---|---|---|
action : String
The requested action.
| DragEvent | ||
dragEventType : String
The event type for the DragEvent to be used
by the receiving DragManager when creating the
marshaled DragEvent.
| InterDragManagerEvent | ||
draggedItem : Object
If the
dragInitiator property contains
an IAutomationObject object,
this property contains the child IAutomationObject object near the mouse cursor. | DragEvent | ||
dragInitiator : IUIComponent
The component that initiated the drag.
| DragEvent | ||
dragSource : DragSource
The DragSource object containing the data being dragged.
| DragEvent | ||
dropTarget : DisplayObject
The potential drop target in the other ApplicationDomain
(which is why it is a DisplayObject and not some other class).
| InterDragManagerEvent |
Method | Defined by | ||
---|---|---|---|
InterDragManagerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number, localY:Number, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0, dropTarget:DisplayObject = null, dragEventType:String = null, dragInitiator:IUIComponent = null, dragSource:DragSource = null, action:String = null, draggedItem:Object = null)
Constructor.
| InterDragManagerEvent |
Constant | Defined by | ||
---|---|---|---|
DISPATCH_DRAG_EVENT : String = "dispatchDragEvent" [static]
Dispatch a DragEvent event to a target in another ApplicationDomain.
| InterDragManagerEvent | ||
DRAG_COMPLETE : String = "dragComplete" [static]
The
DragEvent.DRAG_COMPLETE constant defines the value of the
type property of the event object for a dragComplete event. | DragEvent | ||
DRAG_DROP : String = "dragDrop" [static]
The
DragEvent.DRAG_DROP constant defines the value of the
type property of the event object for a dragDrop event. | DragEvent | ||
DRAG_ENTER : String = "dragEnter" [static]
The
DragEvent.DRAG_ENTER constant defines the value of the
type property of the event object for a dragEnter event. | DragEvent | ||
DRAG_EXIT : String = "dragExit" [static]
The
DragEvent.DRAG_EXIT constant defines the value of the
type property of the event object for a dragExit event. | DragEvent | ||
DRAG_OVER : String = "dragOver" [static]
The
DragEvent.DRAG_OVER constant defines the value of the
type property of the event object for a dragOver event. | DragEvent | ||
DRAG_START : String = "dragStart" [static]
The DragEvent.DRAG_START constant defines the value of the
type property of the event object for a dragStart event. | DragEvent |
dragEventType | property |
public var dragEventType:String
The event type for the DragEvent to be used by the receiving DragManager when creating the marshaled DragEvent.
See also
dropTarget | property |
public var dropTarget:DisplayObject
The potential drop target in the other ApplicationDomain (which is why it is a DisplayObject and not some other class).
InterDragManagerEvent | () | constructor |
public function InterDragManagerEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, localX:Number, localY:Number, relatedObject:InteractiveObject = null, ctrlKey:Boolean = false, altKey:Boolean = false, shiftKey:Boolean = false, buttonDown:Boolean = false, delta:int = 0, dropTarget:DisplayObject = null, dragEventType:String = null, dragInitiator:IUIComponent = null, dragSource:DragSource = null, action:String = null, draggedItem:Object = null)
Constructor.
Parameterstype:String — The event type; indicates the action that caused the event.
|
|
bubbles:Boolean (default = false ) — Specifies whether the event can bubble up the display list hierarchy.
|
|
cancelable:Boolean (default = false ) — Specifies whether the behavior associated with the event can be prevented.
|
|
localX:Number — The horizontal coordinate at which the event occurred relative to the containing sprite.
|
|
localY:Number — The vertical coordinate at which the event occurred relative to the containing sprite.
|
|
relatedObject:InteractiveObject (default = null ) — A reference to a display list object that is related to the event.
|
|
ctrlKey:Boolean (default = false ) — Indicates whether the Ctrl key was pressed.
|
|
altKey:Boolean (default = false ) — Indicates whether the Alt key was pressed.
|
|
shiftKey:Boolean (default = false ) — Indicates whether the Shift key was pressed.
|
|
buttonDown:Boolean (default = false ) — Indicates whether the primary mouse button is pressed (true) or not (false).
|
|
delta:int (default = 0 ) — Indicates how many lines should be scrolled for each unit the user rotates the mouse wheel.
|
|
dropTarget:DisplayObject (default = null ) — The potential drop target in the other application domain (which is why it is a DisplayObject and not some other class).
|
|
dragEventType:String (default = null ) — The event type for the DragEvent to be used by the receiving DragManager when creating the marshaled DragEvent.
|
|
dragInitiator:IUIComponent (default = null ) — IUIComponent that specifies the component initiating
the drag.
|
|
dragSource:DragSource (default = null ) — A DragSource object containing the data being dragged.
|
|
action:String (default = null ) — The specified drop action, such as DragManager.MOVE .
|
|
draggedItem:Object (default = null ) — An object representing the item that was dragged.
|
DISPATCH_DRAG_EVENT | constant |
public static const DISPATCH_DRAG_EVENT:String = "dispatchDragEvent"
Dispatch a DragEvent event to a target in another ApplicationDomain.
The receiving DragManager marshals the DragEvent and dispatches it
to the target specified in the dropTarget
property.