(Flex データ視覚化のみ)
パッケージmx.automation
インターフェイスpublic interface IAutomationClass

IAutomationClass インターフェイスは、コンポーネントクラス記述子のインターフェイスを定義します。



パブリックプロパティ
 プロパティ定義元
  name : String
[読み取り専用] クラス名です。
IAutomationClass
  propertyNameMap : Object
[読み取り専用] 記述子にプロパティ名をマッピングするためのマップが含まれているオブジェクトです。
IAutomationClass
  superClassName : String
[読み取り専用] クラスのスーパークラスの名前です。
IAutomationClass
パブリックメソッド
 メソッド定義元
  
指定されたイベントオブジェクト用の IAutomationEventDescriptor オブジェクトを返します。
IAutomationClass
  
イベント名から IAutomationEventDescriptor オブジェクトを返します。
IAutomationClass
  
メソッドの名前から IAutomationMethodDescriptorfrom オブジェクトを返します。
IAutomationClass
  
getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array
このクラスがサポートするプロパティの一覧を返します。
IAutomationClass
プロパティの詳細
nameプロパティ
name:String  [読み取り専用]

クラス名です。



実装
    public function get name():String
propertyNameMapプロパティ 
propertyNameMap:Object  [読み取り専用]

記述子にプロパティ名をマッピングするためのマップが含まれているオブジェクトです。 次の例では、このプロパティを使用します。

var descriptor:IAutomationPropertyDescriptor = map[propertyNameMap];



実装
    public function get propertyNameMap():Object
superClassNameプロパティ 
superClassName:String  [読み取り専用]

クラスのスーパークラスの名前です。



実装
    public function get superClassName():String
メソッドの詳細
getDescriptorForEvent()メソッド
public function getDescriptorForEvent(event:Event):IAutomationEventDescriptor

指定されたイベントオブジェクト用の IAutomationEventDescriptor オブジェクトを返します。

パラメータ

event:Event — 記述子が必要なイベントです。

戻り値
IAutomationEventDescriptor
getDescriptorForEventByName()メソッド 
public function getDescriptorForEventByName(eventName:String):IAutomationEventDescriptor

イベント名から IAutomationEventDescriptor オブジェクトを返します。

パラメータ

eventName:String — 記述子が必要なイベント名です。

戻り値
IAutomationEventDescriptor — 渡された名前が利用できる場合は、そのイベント記述子です。 利用できない場合は null です。
getDescriptorForMethodByName()メソッド 
public function getDescriptorForMethodByName(methodName:String):IAutomationMethodDescriptor

メソッド名から IAutomationMethodDescriptorfrom オブジェクトを返します。

パラメータ

methodName:String — 記述子が必要なメソッド名です。

戻り値
IAutomationMethodDescriptor — 渡された名前が利用できる場合は、それのメソッド記述子です。 利用できない場合は null です。
getPropertyDescriptors()メソッド 
public function getPropertyDescriptors(objForInitialization:Object = null, forVerification:Boolean = true, forDescription:Boolean = true):Array

このクラスがサポートするプロパティの一覧を返します。

パラメータ

objForInitialization:Object (default = null) — プロパティの ActionScript 型の検索に使用できるオブジェクトです。
 
forVerification:Boolean (default = true)true の場合、検証に使用されたプロパティが戻り値に含まれることを示します。
 
forDescription:Boolean (default = true)true の場合、オブジェクト識別に使用されたプロパティが戻り値に含まれることを示します。

戻り値
Array — プロパティの説明が入った配列です。




 

 

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

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