(Flex データ視覚化のみ)
パッケージmx.automation.delegates.core
クラスpublic class UIComponentAutomationImpl
継承UIComponentAutomationImpl Inheritance EventDispatcher Inheritance Object
実装 IAutomationObject
サブクラス AdvancedDataGridGroupItemRendererAutomationImpl, AlertFormAutomationImpl, AxisRendererAutomationImpl, ButtonAutomationImpl, ChartBaseAutomationImpl, ComboBaseAutomationImpl, ContainerAutomationImpl, DateChooserAutomationImpl, DragManagerAutomationImpl, LabelAutomationImpl, LegendItemAutomationImpl, ListBaseContentHolderAutomationImpl, ListItemRendererAutomationImpl, MenuBarAutomationImpl, MenuBarItemAutomationImpl, MenuItemRendererAutomationImpl, NumericStepperAutomationImpl, OLAPDataGridGroupRendererAutomationImpl, ProgressBarAutomationImpl, RepeaterAutomationImpl, ScrollBarAutomationImpl, ScrollControlBaseAutomationImpl, SeriesAutomationImpl, SliderAutomationImpl, SWFLoaderAutomationImpl, TextInputAutomationImpl, TileListItemRendererAutomationImpl, ToolTipAutomationImpl, TreeItemRendererAutomationImpl, VideoDisplayAutomationImpl

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

関連項目

mx.core.UIComponent


パブリックプロパティ
 プロパティ定義元
  automationName : String
このオブジェクトの識別子として使用できる名前です。
UIComponentAutomationImpl
  automationValue : Array
[読み取り専用] この値はオブジェクトのレンダリング表示に対応しています。また、アプリケーションでの視覚表示と同じにするために、識別子とオブジェクトを関連付けるのに使用できます。
UIComponentAutomationImpl
 Inheritedconstructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクタ関数への参照です。
Object
 Inheritedprototype : Object
[静的] クラスまたは関数オブジェクトのプロトタイプオブジェクトへの参照です。
Object
  uiComponent : DisplayObject
この委譲インスタンスに関連付けられているコンポーネントインスタンスを返します。
UIComponentAutomationImpl
パブリックメソッド
 メソッド定義元
  
コンストラクタです。
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
  
[静的] コンポーネントクラスの委譲クラスを 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
プロテクトメソッド
 メソッド定義元
  
Layout Manger の updateComplete イベントとの自動同期を設定します。
UIComponentAutomationImpl
  
コンポーネントが初期化された後に呼び出されるメソッドです。
UIComponentAutomationImpl
イベント
 イベント 概要 定義元
 Inherited[ブロードキャスト イベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを取得して、アクティブになったときに送出されます。EventDispatcher
 Inherited[ブロードキャスト イベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを失って、非アクティブになったときに送出されます。EventDispatcher
プロパティの詳細
automationNameプロパティ
automationName:String

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



実装
    public function get automationName():String
    public function set automationName(value:String):void
automationValueプロパティ 
automationValue:Array  [読み取り専用]

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



実装
    public function get automationValue():Array
uiComponentプロパティ 
uiComponent:DisplayObject

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



実装
    public function get uiComponent():DisplayObject
    public function set uiComponent(value:DisplayObject):void
コンストラクタの詳細
UIComponentAutomationImpl()コンストラクタ
public function 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 — アプリケーションルートを表す DisplayObject オブジェクトです。





 

 

このページに新しいコメントが追加された場合に、電子メールでの通知を希望する。 | コメントレポート

現在のページ: http://livedocs.adobe.com/flex/3_jp/langref/mx/automation/delegates/core/UIComponentAutomationImpl.html