| Package | spark.automation.delegates.components | 
| Class | public class SparkButtonAutomationImpl | 
| Inheritance | SparkButtonAutomationImpl  SparkButtonBaseAutomationImpl  SparkSkinnableComponentAutomationImpl  UIComponentAutomationImpl  EventDispatcher  Object | 
| Subclasses | SparkMuteButtonAutomationImpl | 
| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 4 | 
| Runtime Versions: | Flash Player 9, AIR 1.5 | 
Learn more
Related API Elements
Public Properties
Public Methods 
| Method | Defined By | ||
|---|---|---|---|
| 
          Constructor. | SparkButtonAutomationImpl | ||
|  | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void 
	Registers an event listener object with an EventDispatcher object so that the listener 
	receives notification of an event. | EventDispatcher | |
|  | 
	Dispatches an event into the event flow. | EventDispatcher | |
|  | 
	Checks whether the EventDispatcher object has any listeners registered for a specific type 
	of event. | EventDispatcher | |
|  | 
	 Indicates whether an object has a specified property defined. | Object | |
| [static] 
          Registers the delegate class for a component class with automation manager. | SparkButtonAutomationImpl | ||
|  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter. | Object | |
|  | 
	 Indicates whether the specified property exists and is enumerable. | Object | |
|  | 
	Removes a listener from the EventDispatcher object. | EventDispatcher | |
|  | 
     Sets the availability of a dynamic property for loop operations. | Object | |
|  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
|  | 
	 Returns the string representation of the specified object. | Object | |
|  | 
	 Returns the primitive value of the specified object. | Object | |
|  | 
	Checks whether an event listener is registered with this EventDispatcher object or any of 
	its ancestors for the specified event type. | EventDispatcher | |
Protected Methods 
Constructor Detail
| SparkButtonAutomationImpl | () | Constructor | 
Method Detail
| init | () | method | 
 public static function init(root:DisplayObject):void| Language Version: | ActionScript 3.0 | 
| Product Version: | Flex 4 | 
| Runtime Versions: | Flash Player 9, AIR 1.5 | 
Registers the delegate class for a component class with automation manager.
Parameters
| root:DisplayObject— The SystemManger of the application. | 
Mon Nov 28 2011, 06:48 AM -08:00
 Hide Inherited Public Properties
 Hide Inherited Public Properties Show Inherited Public Properties
 Show Inherited Public Properties