(Flex Data Visualization only)
The IAutomationMethodDescriptor interface defines the interface for a method descriptor.
name:String
[read-only]
The name of the method.
Implementation
public function get name():String
returnType:String
[read-only]
The return type of the method.
Implementation
public function get returnType():String
public function getArgDescriptors(obj:IAutomationObject):Array
Returns an Array of argument descriptors for this method.
Parameters
Returns
| Array — Array of argument descriptors for this method.
|
public function record(target:IAutomationObject, event:Event):Array
Encodes an automation event arguments into an Array.
Not all method descriptors support recording.
Parameters
Returns
| Array — Array of argument descriptors.
|
public function replay(target:IAutomationObject, args:Array):Object
Decodes an argument array and invokes a method.
Parameters
| target:IAutomationObject — Automation object to replay the method on.
|
|
| args:Array — Array of argument values and descriptors to
be used to invoke the method.
|
Returns
| Object — Whatever the method invoked returns.
|
© 2004-2007 Adobe Systems Incorporated. All rights reserved.
Fri Feb 15 2008, 2:47 AM GMT-08:00