Adobe® Flash® Platform 用 ActionScript® 3.0 リファレンスガイド
ホーム  |  パッケージおよびクラスリストの非表示 |  パッケージ  |  クラス  |  新機能  |  索引  |  付録  |  英語で表示される理由
フィルター: サーバーからデータを取得しています...
サーバーからデータを取得しています...
mx.automation 

IAutomationManager2  - AS3 Flex

パッケージmx.automation
インターフェイスpublic interface IAutomationManager2 extends IAutomationManager , IEventDispatcher
実装者 AutomationManager

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

IAutomationManager インターフェイスは、オートメーションモジュールが AutomationManager オブジェクトから返すインターフェイスを定義します。

さらに例を参照



パブリックプロパティ
 プロパティ定義元
 InheritedautomationEnvironment : Object
この Automation Manager のオートメーション環境です。
IAutomationManager
  automationEnvironmentHandlingClassName : String
[書き込み専用] マーシャリングサポート(ツール用):オートメーション環境を扱うためのツールクラスです。
IAutomationManager2
  automationEnvironmentString : String
[書き込み専用] この Automation Manager のオートメーション環境です。
IAutomationManager2
 Inheritedrecording : Boolean
[読み取り専用] 記録を行うかどうかを指定します。
IAutomationManager
 Inheritedreplaying : Boolean
[読み取り専用] 再生を行うかどうかを指定します。
IAutomationManager
パブリックメソッド
 メソッド定義元
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventDispatcher オブジェクトに登録し、リスナーがイベントの通知を受け取るようにします。
IEventDispatcher
  
マーシャリングサポート(ツール用):渡された EventDetails オブジェクトを、現在の ApplicationDomain に含まれる可能性がある子アプリケーションに追加します。
IAutomationManager2
  
マーシャリングサポート(ツール用):渡された EventDetails オブジェクトを、現在の ApplicationDomain に含まれる可能性がある親アプリケーションに追加します。
IAutomationManager2
 Inherited
Automation Manager を記録モードに設定します。
IAutomationManager
 Inherited
resolveID() メソッドで使用できる、指定されたオブジェクトの ID を返します。
IAutomationManager
 Inherited
resolveIDPart() メソッドで使用できる、指定されたオブジェクトの ID パートを返します。
IAutomationManager
 Inherited
キャッシュカウンターをデクリメントします。
IAutomationManager
 Inherited
イベントをイベントフローに送出します。
IEventDispatcher
  
マーシャリングサポート(ツール用):イベントをすべての子に送出します。
IAutomationManager2
  
マーシャリングサポート(ツール用):イベントを親アプリケーションに送出します。
IAutomationManager2
 Inherited
Automation Manager の記録モードを解除します。
IAutomationManager
  
AIR サポート(ツール用):指定された ID を持つウィンドウを返します。
IAutomationManager2
  
AIR サポート(ツール用):一意のウィンドウオブジェクト ID を返します。
IAutomationManager2
  
AIR サポート(ツール用):オートメーション ID パートから一意のウィンドウ ID を返します。
IAutomationManager2
  
AIR サポート(ツール用):オブジェクト ID から一意のウィンドウ ID を返します。
IAutomationManager2
  
マーシャリングサポート(ツール用):パート ID からアプリケーションの名前を返します。
IAutomationManager2
 Inherited
オブジェクト型として表示されるテキストを返します。
IAutomationManager
 Inherited
オブジェクトの説明として表示されるテキストを返します。
IAutomationManager
 Inherited
getChildren(obj:IAutomationObject, ignoreShowInHierarchy:Boolean = false):Array
このオブジェクトの子のうち、テスト階層に表示されているすべての子を返します。
IAutomationManager
 Inherited
getChildrenFromIDPart(obj:IAutomationObject, part:AutomationIDPart = null, ignoreShowInHierarchy:Boolean = false):Array
このオブジェクトの子のうち、テスト階層に表示されており、オートメーションパートの条件を満たすすべての子を返します。
IAutomationManager
 Inherited
指定された座標のオートメーションオブジェクトを返します。
IAutomationManager
  
AIR サポート(ツール用):ウィンドウ内の特定の座標下にあるオートメーションオブジェクトを返します。
IAutomationManager2
 Inherited
getParent(obj:IAutomationObject, parentToStopAt:IAutomationObject = null, ignoreShowInHierarchy:Boolean = false):IAutomationObject
オートメーション階層に表示されている次の親を返します。
IAutomationManager
  
マーシャリングサポート(委譲先用):ルートアプリケーションのポップアップオブジェクトの配列を返します。
IAutomationManager2
  
マーシャリングサポート(委譲先用):最上位アプリケーションのポップアップオブジェクトの配列を返します。
IAutomationManager2
  
マーシャリングサポート(委譲先用):最上位アプリケーションの子ポップアップの数を返します。
IAutomationManager2
 Inherited
getProperties(obj:IAutomationObject, names:Array = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
プロパティのセットの値を返します。
IAutomationManager
 Inherited
DisplayObject を囲む矩形を表示します。
IAutomationManager
  
AIR サポート(ツール用):スクリーン座標におけるメイン AIR アプリケーションの開始ポイントを取得するために、AIR アプリケーションからロードされた Flex アプリケーションで使用されます。
IAutomationManager2
 Inherited
IAutomationTabularData インターフェイスを実装するオブジェクトを返します。このインターフェイスによって表形式のデータを取得できます。
IAutomationManager
  
マーシャリングサポート(ツール用):渡されたオブジェクト配列の間で一番上に表示されるオブジェクトのインデックスを返します。
IAutomationManager2
  
マーシャリングサポート(ツール用):SWFLoader 情報とアプリケーション名を使用し、階層を考慮して一意のアプリケーション ID を返します。
IAutomationManager2
 Inherited
EventDispatcher オブジェクトに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
IEventDispatcher
 Inherited
キャッシュカウンターをインクリメントします。
IAutomationManager
  
マーシャリングサポート(ツール用):渡されたオブジェクトがポップアップの場合は true を返します。
IAutomationManager2
 Inherited
指定されたターゲットが前の処理が完了するのを待つ必要があるかどうかをテストします。
IAutomationManager
 Inherited
オブジェクトとその親がすべて表示されている場合は、true を返します。
IAutomationManager
 Inherited
recordAutomatableEvent(recorder:IAutomationObject, event:Event, cacheable:Boolean = false):void
イベントを記録します。
IAutomationManager
 Inherited
カスタムイベントを記録します。
IAutomationManager
  
マーシャリングサポート(委譲先用):新しいアプリケーションが追加されると、アプリケーション委譲先によって自身が登録され、マーシャリングをサポートするために適切なリスナーが追加されます。
IAutomationManager2
  
AIR サポート(委譲先用):FlexNativeMenu がコンポーネントに追加されると、その委譲先によって新しい FlexNativeMenu オブジェクトが登録され、委譲先が作成されます。
IAutomationManager2
  
AIR サポート(移譲先用):新しいウィンドウが追加されると、WindowedApplication の委譲先により新しいウィンドウオブジェクトが登録され、そのウィンドウに対して一意の ID が作成されます。
IAutomationManager2
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher オブジェクトからリスナーを削除します。
IEventDispatcher
 Inherited
指定されたイベントを再生します。
IAutomationManager
 Inherited
resolveID(rid:AutomationID, currentParent:IAutomationObject = null):Array
ID を解決してオートメーションオブジェクトにします。
IAutomationManager
 Inherited
ID パートを解決して、オートメーションオブジェクトにします。
IAutomationManager
 Inherited
ID パートを解決して、親の中にあるオートメーションオブジェクトにします。
IAutomationManager
 Inherited
ID を解決してオートメーションオブジェクトにします。
IAutomationManager
 Inherited
オートメーションオブジェクトを階層に表示するかどうかを示します。
IAutomationManager
  
マーシャリングサポート(移譲先用):アプリケーション間のドラッグアンドドロップを有効にするためのドラッグプロキシを格納します。あるアプリケーションで作成された DragProxy は、必要に応じて別のアプリケーションからアクセスできます。
IAutomationManager2
 Inherited
指定されたイベントタイプについて、この EventDispatcher オブジェクトまたはその祖先にイベントリスナーが登録されているかどうかを確認します。
IEventDispatcher
プロパティの詳細

automationEnvironmentHandlingClassName

プロパティ
automationEnvironmentHandlingClassName:String  [書き込み専用]

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):オートメーション環境を扱うためのツールクラスです。



実装
    public function set automationEnvironmentHandlingClassName(value:String):void

automationEnvironmentString

プロパティ 
automationEnvironmentString:String  [書き込み専用]

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

この Automation Manager のオートメーション環境です。 オートメーション環境は、エージェントツールとの通信に必要なテスト可能コンポーネントのオブジェクトとプロパティに関する情報を提供します。 このプロパティの値では、IAutomationEnvironment インターフェイスを実装する必要があります。



実装
    public function set automationEnvironmentString(value:String):void

関連する API エレメント

メソッドの詳細

addEventListenersToAllChildApplications

()メソッド
public function addEventListenersToAllChildApplications(eventDetailsArray:Array):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):渡された EventDetails オブジェクトを、現在の ApplicationDomain に含まれる可能性がある子アプリケーションに追加します。AutomationManager は、アプリケーションのロード中またはロード時に、現在の ApplicationDomain に含まれる子アプリケーションを識別し、渡されたオブジェクトから取得した適切なリスナーを追加します。

パラメーター

eventDetailsArray:Array — EventDetails オブジェクトの配列です。

addEventListenersToAllParentApplications

()メソッド 
public function addEventListenersToAllParentApplications(eventDetailsArray:Array):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):渡された EventDetails オブジェクトを、現在の ApplicationDomain に含まれる可能性がある親アプリケーションに追加します。AutomationManager は、現在の ApplicationDomain 内で子からのイベントをリッスンする親アプリケーションを識別し、渡されたオブジェクトから取得した適切なリスナーを追加します。

パラメーター

eventDetailsArray:Array — EventDetails オブジェクトの配列です。

dispatchToAllChildren

()メソッド 
public function dispatchToAllChildren(event:Event):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):イベントをすべての子に送出します。

パラメーター

event:Event — 送出するイベントです。

dispatchToParent

()メソッド 
public function dispatchToParent(event:Event):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):イベントを親アプリケーションに送出します。

パラメーター

event:Event — 送出するイベントです。

getAIRWindow

()メソッド 
public function getAIRWindow(windowId:String):DisplayObject

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(ツール用):指定された ID を持つウィンドウを返します。

パラメーター

windowId:String — ウィンドウの ID です。

戻り値
DisplayObject — 指定された ID を持つウィンドウです。

getAIRWindowUniqueID

()メソッド 
public function getAIRWindowUniqueID(newWindow:DisplayObject):String

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(ツール用):一意のウィンドウオブジェクト ID を返します。

パラメーター

newWindow:DisplayObject — ID を調べる対象のウィンドウです。

戻り値
String — String

getAIRWindowUniqueIDFromAutomationIDPart

()メソッド 
public function getAIRWindowUniqueIDFromAutomationIDPart(objectIdPart:AutomationIDPart):String

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(ツール用):オートメーション ID パートから一意のウィンドウ ID を返します。オートメーション ID パートには、アプリケーション ID とウィンドウ ID が含まれます。

パラメーター

objectIdPart:AutomationIDPart — 一意のウィンドウ ID を取得する元となる AutomationIDPart です。

戻り値
String

getAIRWindowUniqueIDFromObjectIDString

()メソッド 
public function getAIRWindowUniqueIDFromObjectIDString(objectId:String):String

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(ツール用):オブジェクト ID から一意のウィンドウ ID を返します。オブジェクト ID には、アプリケーション ID とウィンドウ ID が含まれます。

パラメーター

objectId:String — 一意のウィンドウ ID を取得する元となるオブジェクト ID です。

戻り値
String

getApplicationNameFromAutomationIDPart

()メソッド 
public function getApplicationNameFromAutomationIDPart(objectID:AutomationIDPart):String

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):パート ID からアプリケーションの名前を返します。

パラメーター

objectID:AutomationIDPart — アプリケーション名を取得する元となる AutomationIDPart です。

戻り値
String

getElementFromPoint2

()メソッド 
public function getElementFromPoint2(x:int, y:int, windowId:String):IAutomationObject

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(ツール用):ウィンドウ内の特定の座標下にあるオートメーションオブジェクトを返します。

パラメーター

x:int — X 座標です。
 
y:int — Y 座標です。
 
windowId:String — 調べるオブジェクトが存在するウィンドウです。

戻り値
IAutomationObject — そのポイントにおけるオートメーションオブジェクトです。

getPopUpChildObject

()メソッド 
public function getPopUpChildObject(index:int):IAutomationObject

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(委譲先用):ルートアプリケーションのポップアップオブジェクトの配列を返します。アプリケーションで作成されたポップアップオブジェクトはすべて、同じ ApplicationDomain の最上位アプリケーションに子ポップアップとして追加されます。

パラメーター

index:int — オブジェクトを取得するインデックスです。

戻り値
IAutomationObject — 指定されたインデックスに位置する IAutomationObject です。

getPopUpChildren

()メソッド 
public function getPopUpChildren():Array

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(委譲先用):最上位アプリケーションのポップアップオブジェクトの配列を返します。アプリケーションで作成されたポップアップオブジェクトはすべて、同じ ApplicationDomain の最上位アプリケーションに子ポップアップとして追加されます。

戻り値
Array — 子ポップアップの配列です。

getPopUpChildrenCount

()メソッド 
public function getPopUpChildrenCount():Number

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(委譲先用):最上位アプリケーションの子ポップアップの数を返します。アプリケーションで作成されたポップアップオブジェクトはすべて、同じ ApplicationDomain の最上位アプリケーションに子ポップアップとして追加されます。

戻り値
Number — 子ポップアップの数です。

getStartPointInScreenCoordinates

()メソッド 
public function getStartPointInScreenCoordinates(windowId:String):Point

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(ツール用):スクリーン座標におけるメイン AIR アプリケーションの開始ポイントを取得するために、AIR アプリケーションからロードされた Flex アプリケーションで使用されます。

パラメーター

windowId:String

戻り値
Point

getTopApplicationIndex

()メソッド 
public function getTopApplicationIndex(objectList:Array):int

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):渡されたオブジェクト配列の間で一番上に表示されるオブジェクトのインデックスを返します。これをツールで使用すると、異なる ApplicationDomain または異なる SecurityDomain に属する、異なるアプリケーションのオブジェクトがマウスの位置に複数存在する場合に、一番上にある Application オブジェクトを識別できます。

パラメーター

objectList:Array — オブジェクトの配列

戻り値
int

getUniqueApplicationID

()メソッド 
public function getUniqueApplicationID():String

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):SWFLoader 情報とアプリケーション名を使用し、階層を考慮して一意のアプリケーション ID を返します。

戻り値
String

isObjectPopUp

()メソッド 
public function isObjectPopUp(obj:IAutomationObject):Boolean

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(ツール用):渡されたオブジェクトがポップアップの場合は true を返します。

パラメーター

obj:IAutomationObject — IAutomationObject

戻り値
Boolean

registerNewApplication

()メソッド 
public function registerNewApplication(application:DisplayObject):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(委譲先用):新しいアプリケーションが追加されると、アプリケーション委譲先によって自身が登録され、マーシャリングをサポートするために適切なリスナーが追加されます。

パラメーター

application:DisplayObject — 登録するアプリケーションオブジェクトです。

registerNewFlexNativeMenu

()メソッド 
public function registerNewFlexNativeMenu(menu:Object, sm:DisplayObject):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(委譲先用):FlexNativeMenu がコンポーネントに追加されると、その委譲先によって新しい FlexNativeMenu オブジェクトが登録され、委譲先が作成されます。

パラメーター

menu:Object — 登録する FlexNativeMenu オブジェクトです。
 
sm:DisplayObject — FlexNativeMenu が追加されるコンポーネントの SystemManager です。

registerNewWindow

()メソッド 
public function registerNewWindow(newWindow:DisplayObject):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

AIR サポート(移譲先用):新しいウィンドウが追加されると、WindowedApplication の委譲先により新しいウィンドウオブジェクトが登録され、そのウィンドウに対して一意の ID が作成されます。

パラメーター

newWindow:DisplayObject — 登録するウィンドウオブジェクトです。

storeDragProxy

()メソッド 
public function storeDragProxy(dragProxy:Object):void

言語バージョン: ActionScript 3.0
製品バージョン: Flex 4
ランタイムバージョン: Flash Player 9, AIR 1.1

マーシャリングサポート(移譲先用):アプリケーション間のドラッグアンドドロップを有効にするためのドラッグプロキシを格納します。あるアプリケーションで作成された DragProxy は、必要に応じて別のアプリケーションからアクセスできます。

パラメーター

dragProxy:Object — オブジェクト





[ X ]英語で表示される理由
ActionScript 3.0 リファレンスガイドのコンテンツが英語で表示されます。

ActionScript 3.0 リファレンスガイドのすべての部分がすべての言語に翻訳されているわけではありません。言語エレメントが翻訳されていない場合、そのエレメントは英語で表示されます。例えば、ga.controls.HelpBox クラスはどの言語にも訳されていません。このため、リファレンスガイドの日本語バージョンでは、ga.controls.HelpBox クラスは英語で表示されます。