語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
automationEnabled : Boolean [唯讀] | UIComponentAutomationImpl | ||
automationName : String
Name that can be used as an identifier for this object. | UIComponentAutomationImpl | ||
automationOwner : DisplayObjectContainer [唯讀] | UIComponentAutomationImpl | ||
automationParent : DisplayObjectContainer [唯讀] | UIComponentAutomationImpl | ||
automationValue : Array [唯讀]
This value generally corresponds to the rendered appearance of the
object and should be usable for correlating the identifier with
the object as it appears visually within the application. | UIComponentAutomationImpl | ||
automationVisible : Boolean [唯讀] | UIComponentAutomationImpl | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
uiComponent : DisplayObject
Returns the component instance associated with this delegate instance. | UIComponentAutomationImpl |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | UIComponentAutomationImpl | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
[靜態]
Registers the delegate class for a component class with automation manager. | UIComponentAutomationImpl | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
方法 | 定義自 | ||
---|---|---|---|
Sets up an automation synchronization with the Layout Manager's UPDATE_COMPLETE event. | UIComponentAutomationImpl | ||
addMouseEvent(obj:DisplayObject, event:String, handler:Function, useCapture:Boolean = false, priority:int = 0, useWeekRef:Boolean = false):void | UIComponentAutomationImpl | ||
Method which gets called after the component has been initialized. | UIComponentAutomationImpl | ||
removeMouseEvent(obj:DisplayObject, event:String, handler:Function, useCapture:Boolean = false):void | UIComponentAutomationImpl |
automationEnabled | 屬性 |
automationName | 屬性 |
automationOwner | 屬性 |
automationOwner:DisplayObjectContainer
[唯讀] 實作
public function get automationOwner():DisplayObjectContainer
automationParent | 屬性 |
automationParent:DisplayObjectContainer
[唯讀] 實作
public function get automationParent():DisplayObjectContainer
automationValue | 屬性 |
automationValue:Array
[唯讀] 語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
This value generally corresponds to the rendered appearance of the object and should be usable for correlating the identifier with the object as it appears visually within the application.
實作
public function get automationValue():Array
automationVisible | 屬性 |
uiComponent | 屬性 |
uiComponent:DisplayObject
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the component instance associated with this delegate instance.
實作
public function get uiComponent():DisplayObject
public function set uiComponent(value:DisplayObject):void
UIComponentAutomationImpl | () | 建構函式 |
public function UIComponentAutomationImpl(obj:UIComponent)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
參數obj:UIComponent — UIComponent object to be automated.
|
addLayoutCompleteSynchronization | () | 方法 |
protected function addLayoutCompleteSynchronization():void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Sets up an automation synchronization with the Layout Manager's UPDATE_COMPLETE event. When certain actions are being replayed automation needs to wait before it can replay the next event. This wait is required to allow the framework to complete actions requested by the component. Normally a layout manager update complte event signals end of all updates. This method adds syncrhonization which gets signaled as complete when update_complete event is received.
addMouseEvent | () | 方法 |
protected function addMouseEvent(obj:DisplayObject, event:String, handler:Function, useCapture:Boolean = false, priority:int = 0, useWeekRef:Boolean = false):void
參數
obj:DisplayObject | |
event:String | |
handler:Function | |
useCapture:Boolean (default = false )
| |
priority:int (default = 0 )
| |
useWeekRef:Boolean (default = false )
|
componentInitialized | () | 方法 |
protected function componentInitialized():void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Method which gets called after the component has been initialized. This can be used to access any sub-components and act on them.
init | () | 方法 |
public static function init(root:DisplayObject):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Registers the delegate class for a component class with automation manager.
參數
root:DisplayObject — DisplayObject object representing the application root.
|
removeMouseEvent | () | 方法 |
protected function removeMouseEvent(obj:DisplayObject, event:String, handler:Function, useCapture:Boolean = false):void
參數
obj:DisplayObject | |
event:String | |
handler:Function | |
useCapture:Boolean (default = false )
|
Tue Jun 12 2018, 03:47 PM Z