ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.automation.air 

AirDragManagerAutomationHandler  - AS3 Flex

Packagemx.automation.air
Classpublic class AirDragManagerAutomationHandler
InheritanceAirDragManagerAutomationHandler Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Helper class that provides methods required for automation of drag and drop in AIR applications



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  lastClipBoardObject : Clipboard
[static] [read-only] Returns the clipboard instance of last drag event
AirDragManagerAutomationHandler
Public Methods
 MethodDefined By
  
Constructor
AirDragManagerAutomationHandler
  
[static] Returns the target of last drag start event
AirDragManagerAutomationHandler
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
[static] Replays drag cancel event
AirDragManagerAutomationHandler
  
[static] Replays drag drop event
AirDragManagerAutomationHandler
  
[static] Replays drag drop event in marshalled applications
AirDragManagerAutomationHandler
  
[static] Replays drag start event
AirDragManagerAutomationHandler
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
  
[static] Stores the details of current drag source
AirDragManagerAutomationHandler
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

lastClipBoardObject

property
lastClipBoardObject:Clipboard  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Returns the clipboard instance of last drag event



Implementation
    public static function get lastClipBoardObject():Clipboard
Constructor Detail

AirDragManagerAutomationHandler

()Constructor
public function AirDragManagerAutomationHandler()

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Constructor

Method Detail

getlastDragStartObj

()method
public static function getlastDragStartObj():IAutomationObject

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Returns the target of last drag start event

Returns
IAutomationObject

replayAIRDragCancelEvent

()method 
public static function replayAIRDragCancelEvent(realTarget:EventDispatcher, dragEvent:AutomationDragEvent):void

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Replays drag cancel event

Parameters

realTarget:EventDispatcher — Object on which event is to be dispatched
 
dragEvent:AutomationDragEvent — AutomationDragEvent object that holds information required to build a drag cancel event

replayAIRDragDropEvent

()method 
public static function replayAIRDragDropEvent(realTarget:EventDispatcher, dragEvent:AutomationDragEvent):void

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Replays drag drop event

Parameters

realTarget:EventDispatcher — Object on which event is to be dispatched
 
dragEvent:AutomationDragEvent — AutomationDragEvent object that holds information required to build a drag drop event

replayAIRDragDropMarshalledEvent

()method 
public static function replayAIRDragDropMarshalledEvent(realTarget:Object, dragEvent:Object):void

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Replays drag drop event in marshalled applications

Parameters

realTarget:Object — Object on which event is to be dispatched
 
dragEvent:Object — AutomationDragEvent object that holds information required to build a drag drop event

replayAIRDragStartEvent

()method 
public static function replayAIRDragStartEvent(realTarget:EventDispatcher, dragEvent:AutomationDragEvent, draggedItems:IAutomationObject):void

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Replays drag start event

Parameters

realTarget:EventDispatcher — Object on which the event is to be dispatched
 
dragEvent:AutomationDragEvent — AutomationDragEvent object that holds information required to build a drag start event
 
draggedItems:IAutomationObject — Object which is dragged

storeAIRDragSourceDetails

()method 
public static function storeAIRDragSourceDetails(dragSource:DragSource):void

Language Version: ActionScript 3.0
Product Version: Flex 4.1
Runtime Versions: Flash Player 10, AIR 2

Stores the details of current drag source

Parameters

dragSource:DragSource — DragSource object