Adobe Flex 2 Language Reference - collected by Jimbob | Back to MY RESOURCES


(Flex 2 Plug-in for Mercury Quick Test Pro)
Packagemx.automation
Interfacepublic interface IAutomationEventDescriptor

The IAutomationEventDescriptor interface defines the interface for an event descriptor.



Public Properties
 PropertyDefined by
  eventClassName : String
[read-only] The name of the class implementing this event.
IAutomationEventDescriptor
  eventType : String
[read-only] The value of the type property used for this event.
IAutomationEventDescriptor
  name : String
[read-only] The name of this event as the agent sees it.
IAutomationEventDescriptor
Public Methods
 MethodDefined by
  
Returns an Array of argument descriptors for this event.
IAutomationEventDescriptor
  
Encodes an automation event argument into an Array.
IAutomationEventDescriptor
  
Decodes an argument Array and replays the event.
IAutomationEventDescriptor
Property detail
eventClassNameproperty
eventClassName:String  [read-only]

The name of the class implementing this event.

Implementation
    public function get eventClassName():String
eventTypeproperty 
eventType:String  [read-only]

The value of the type property used for this event.

Implementation
    public function get eventType():String
nameproperty 
name:String  [read-only]

The name of this event as the agent sees it. The AutomationManager fills the AutomationRecordEvent.name property with this name.

Implementation
    public function get name():String
Method detail
getArgDescriptors()method
public function getArgDescriptors(target:IAutomationObject):Array

Returns an Array of argument descriptors for this event.

Parameters
target:IAutomationObject — Instance of the IAutomationObject that supports this event.

Returns
Array — Array of argument descriptors for this event.
record()method 
public function record(target:IAutomationObject, event:Event):Array

Encodes an automation event argument into an Array.

Parameters
target:IAutomationObject — Automation object on which to record the event.
 
event:Event — Automation event that is being recorded.

Returns
Array — Updated Array of argument descriptors for this event.
replay()method 
public function replay(target:IAutomationObject, args:Array):Object

Decodes an argument Array and replays the event.

Parameters
target:IAutomationObject — Automation object on which to replay the event.
 
args:Array — Array of argument values to be used to replay the event.

Returns
Object — null





collected by Jimbob 2007.05