(Adobe® Flex™ 2 プラグイン for Mercury™ Quick Test Pro)
パッケージmx.automation.delegates.core
public class UIComponentAutomationImpl
継承UIComponentAutomationImpl Inheritance EventDispatcher Inheritance Object
ImplementsIAutomationObject
SubclassesAlertFormAutomationImpl, AxisRendererAutomationImpl, ButtonAutomationImpl, ChartBaseAutomationImpl, ComboBaseAutomationImpl, ContainerAutomationImpl, DateChooserAutomationImpl, DragManagerAutomationImpl, LabelAutomationImpl, LegendItemAutomationImpl, ListBaseContentHolderAutomationImpl, ListItemRendererAutomationImpl, MenuBarAutomationImpl, MenuBarItemAutomationImpl, MenuItemRendererAutomationImpl, NumericStepperAutomationImpl, ProgressBarAutomationImpl, RepeaterAutomationImpl, ScrollBarAutomationImpl, ScrollControlBaseAutomationImpl, SeriesAutomationImpl, SliderAutomationImpl, SWFLoaderAutomationImpl, TextInputAutomationImpl, TileListItemRendererAutomationImpl, ToolTipAutomationImpl, TreeItemRendererAutomationImpl, VideoDisplayAutomationImpl

UIComponent クラスのインスツルメンテーションの実行に必要なメソッドとプロパティを定義します。

関連項目

mx.core.UIComponent


パブリックプロパティ
 プロパティ定義
  automationName : String
このオブジェクトの識別子として使用できる名前です。
UIComponentAutomationImpl
  automationValue : Array
[read-only] この値は通常、オブジェクトのレンダリングされた表示に対応しており、アプリケーションでの視覚的な表示と同じになるように、識別子とオブジェクトを関連付けるために使用できます。
UIComponentAutomationImpl
 Inheritedconstructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクタ関数への参照です。
Object
 Inheritedprototype : Object
[static] クラスまたは関数オブジェクトのプロトタイプオブジェクトへの参照です。
Object
  uiComponent : DisplayObject
この委譲インスタンスに関連付けられているコンポーネントインスタンスを返します。
UIComponentAutomationImpl
Protectedプロパティ
 プロパティ定義
  uiAutomationObject : IAutomationObject
[read-only]
UIComponentAutomationImpl
パブリック Methods
 メソッド定義
  
コンストラクタです。
UIComponentAutomationImpl
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
リスナーがイベントの通知を受け取るように、イベントリスナーオブジェクトを EventDispatcher オブジェクトに登録します。
EventDispatcher
 Inherited
イベントをイベントフローに送出します。
EventDispatcher
 Inherited
EventDispatcher オブジェクトに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
EventDispatcher
 Inherited
指定されたプロパティがオブジェクトに定義されているかどうかを示します。
Object
  
[static] コンポーネントクラスの委譲クラスを Automation Manager に登録します。
UIComponentAutomationImpl
 Inherited
Object クラスのインスタンスが、パラメータとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
Object
 Inherited
指定されたプロパティが存在し、列挙できるかどうかを示します。
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher オブジェクトからリスナーを削除します。
EventDispatcher
 Inherited
ループ処理に対するダイナミックプロパティの可用性を設定します。
Object
 Inherited
指定されたオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのプリミティブな値を返します。
Object
 Inherited
指定されたイベントタイプについて、この EventDispatcher オブジェクトまたはその祖先にイベントリスナーが登録されているかどうかを確認します。
EventDispatcher
Protected Methods
 メソッド定義
  
Layout Manger の updateComplete イベントとの自動同期を設定します。
UIComponentAutomationImpl
  
コンポーネントが初期化された後に呼び出されるメソッドです。
UIComponentAutomationImpl
イベント
 イベント一覧定義
 Inherited Flash Player がオペレーティングシステムのフォーカスを取得して、アクティブになったときに送出されます。EventDispatcher
 Inherited Flash Player がオペレーティングシステムのフォーカスを失って、非アクティブになったときに送出されます。EventDispatcher
プロパティの詳細
automationNameプロパティ
automationName:String  [read-write]

このオブジェクトの識別子として使用できる名前です。

実装
    public function get automationName():String
    public function set automationName(value:String):void
automationValueプロパティ 
automationValue:Array  [read-only]

この値は通常、オブジェクトのレンダリングされた表示に対応しており、アプリケーションでの視覚的な表示と同じになるように、識別子とオブジェクトを関連付けるために使用できます。

実装
    public function get automationValue():Array
uiAutomationObjectプロパティ 
uiAutomationObject:IAutomationObject  [read-only]実装
    protected function get uiAutomationObject():IAutomationObject
uiComponentプロパティ 
uiComponent:DisplayObject  [read-write]

この委譲インスタンスに関連付けられているコンポーネントインスタンスを返します。

実装
    public function get uiComponent():DisplayObject
    public function set uiComponent(value:DisplayObject):void
コンストラクタの詳細
UIComponentAutomationImpl()コンストラクタ
public 関数 UIComponentAutomationImpl(obj:UIComponent)

コンストラクタです。

パラメータ
obj:UIComponent — 自動化する UIComponent オブジェクトです。
メソッドの詳細
addLayoutCompleteSynchronization()メソッド
protected function addLayoutCompleteSynchronization():void

Layout Manger の updateComplete イベントとの自動同期を設定します。特定のアクションが再生されている間、オートメーションはリッスンし、それから次のイベントを再生します。この待機は、コンポーネントによって要求されたアクションをフレームワークが完了できるようにするために必要です。通常、Layout Manager の updateComplete イベントによってすべての更新の終了が通知されます。このメソッドは、update_complete イベントを受け取ったときに完了と通知される同期を追加します。

componentInitialized()メソッド 
protected function componentInitialized():void

コンポーネントが初期化された後に呼び出されるメソッドです。このメソッドを使用すると、任意のサブコンポーネントにアクセスして処理できます。

init()メソッド 
public static function init(root:DisplayObject):void

コンポーネントクラスの委譲クラスを Automation Manager に登録します。

パラメータ
root:DisplayObject