套件 | mx.automation.delegates.flashflexkit |
類別 | public class UIMovieClipAutomationImpl |
繼承 | UIMovieClipAutomationImpl EventDispatcher Object |
實作 | IAutomationObject |
子類別 | ContainerMovieClipAutomationImpl, FlexContentHolderAutomationImpl |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
automationEnabled : Boolean [唯讀] | UIMovieClipAutomationImpl | ||
automationName : String
Name that can be used as an identifier for this object. | UIMovieClipAutomationImpl | ||
automationOwner : DisplayObjectContainer [唯讀] | UIMovieClipAutomationImpl | ||
automationParent : DisplayObjectContainer [唯讀] | UIMovieClipAutomationImpl | ||
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. | UIMovieClipAutomationImpl | ||
automationVisible : Boolean [唯讀] | UIMovieClipAutomationImpl | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
movieClip : UIMovieClip
Returns the component instance associated with this delegate instance. | UIMovieClipAutomationImpl |
屬性 | 定義自 | ||
---|---|---|---|
resourceManager : IResourceManager
A reference to the object which manages all of the application's localized resources. | UIMovieClipAutomationImpl |
方法 | 定義自 | ||
---|---|---|---|
Constructor. | UIMovieClipAutomationImpl | ||
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. | UIMovieClipAutomationImpl | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
方法 | 定義自 | ||
---|---|---|---|
Sets up a automation synchronization with layout manager update complete event. | UIMovieClipAutomationImpl |
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 | 屬性 |
movieClip | 屬性 |
movieClip:UIMovieClip
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Returns the component instance associated with this delegate instance.
實作
public function get movieClip():UIMovieClip
public function set movieClip(value:UIMovieClip):void
resourceManager | 屬性 |
protected var resourceManager:IResourceManager
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A reference to the object which manages all of the application's localized resources.
UIMovieClipAutomationImpl | () | 建構函式 |
public function UIMovieClipAutomationImpl(obj:UIMovieClip)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
參數obj:UIMovieClip — UIComponent object to be automated.
|
addLayoutCompleteSynchronization | () | 方法 |
protected function addLayoutCompleteSynchronization():void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Sets up a automation synchronization with layout manager 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.
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.
|
Tue Jun 12 2018, 03:47 PM Z