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

VariableInstance  - AS3 Asset Composer

パッケージcom.adobe.icc.dc.domain
クラスpublic class VariableInstance
継承VariableInstance Inheritance EventDispatcher Inheritance Object
実装 IDataInstance

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

This class is the runtime representation of the variable present in the letter.



パブリックプロパティ
 プロパティ定義元
  caption : String
[読み取り専用] The caption property of the underlying value object.
VariableInstance
 Inheritedconstructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクター関数への参照です。
Object
  dataType : String
[読み取り専用] Return the field type
VariableInstance
  dataTypeValid : Boolean
True if the variable's value filled by the user fits in well as per the data type of the variable.
VariableInstance
  editable : Boolean
[読み取り専用] True if the underlying object is editable.
VariableInstance
  name : String
[読み取り専用] The name property of the underlying value object.
VariableInstance
  optional : Boolean
[読み取り専用] True if the underlying object is optional.
VariableInstance
  subType : String
[読み取り専用] The sub type of the data element in case when type of data element specified is ENUM.
VariableInstance
  toolTip : String
[読み取り専用] The toolTip property of the underlying value object.
VariableInstance
  valid : Boolean
[読み取り専用] Boolean indicating whether the content is valid
VariableInstance
  value : *
The value of the data element(variable or field) associated with the letter instance.
VariableInstance
  valueSet : IList
[読み取り専用] The list of value of the data element in case when type of data element specified is ENUM.
VariableInstance
パブリックメソッド
 メソッド定義元
  
VariableInstance(value:VariableData)
Constructor.
VariableInstance
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventDispatcher オブジェクトに登録し、リスナーがイベントの通知を受け取るようにします。
EventDispatcher
  
Add the given moduleInstance to this VariableInstance, as a source of the associated Variable.
VariableInstance
  
The function called when the Variable instance is no longer required.It does the clean up like removing event listeners from the dependencies.
VariableInstance
 Inherited
イベントをイベントフローに送出します。
EventDispatcher
  
Get the List of IModuleInstances for all modules that this VariableInstance's Variable is derived from.
VariableInstance
  
Returns the instance of Variable associated with this underlying object.
VariableInstance
 Inherited
EventDispatcher オブジェクトに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
EventDispatcher
 Inherited
オブジェクトに指定されたプロパティが定義されているかどうかを示します。
Object
 Inherited
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
Object
 Inherited
指定されたプロパティが存在し、列挙できるかどうかを示します。
Object
  
Refresh should be called when item is selected.
VariableInstance
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher オブジェクトからリスナーを削除します。
EventDispatcher
 Inherited
ループ処理に対するダイナミックプロパティの可用性を設定します。
Object
  
The function to prepare the Variable instance for use.
VariableInstance
 Inherited
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのプリミティブな値を返します。
Object
 Inherited
指定されたイベントタイプについて、この EventDispatcher オブジェクトまたはその祖先にイベントリスナーが登録されているかどうかを確認します。
EventDispatcher
プロテクトメソッド
 メソッド定義元
  
variableDataChangeHandler(event:VariableDataEvent):void
Called when the variable's value changes (which could be the result of a linked variable/field).
VariableInstance
イベント
 イベント 概要 定義元
 Inherited[ブロードキャストイベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを取得して、アクティブになったときに送出されます。EventDispatcher
 Inherited[ブロードキャストイベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを失って、非アクティブになったときに送出されます。EventDispatcher
プロパティの詳細

caption

プロパティ
caption:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The caption property of the underlying value object.



実装
    public function get caption():String

dataType

プロパティ 
dataType:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Return the field type



実装
    public function get dataType():String

dataTypeValid

プロパティ 
dataTypeValid:Boolean

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

True if the variable's value filled by the user fits in well as per the data type of the variable. for e.g dataTypeValid attribute is false when a string is filled in for a Number-type variable.

このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。



実装
    public function get dataTypeValid():Boolean
    public function set dataTypeValid(value:Boolean):void

editable

プロパティ 
editable:Boolean  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

True if the underlying object is editable.



実装
    public function get editable():Boolean

name

プロパティ 
name:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The name property of the underlying value object.



実装
    public function get name():String

optional

プロパティ 
optional:Boolean  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

True if the underlying object is optional.



実装
    public function get optional():Boolean

subType

プロパティ 
subType:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The sub type of the data element in case when type of data element specified is ENUM.



実装
    public function get subType():String

toolTip

プロパティ 
toolTip:String  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The toolTip property of the underlying value object.



実装
    public function get toolTip():String

valid

プロパティ 
valid:Boolean  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Boolean indicating whether the content is valid

このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。



実装
    public function get valid():Boolean

value

プロパティ 
value:*

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The value of the data element(variable or field) associated with the letter instance.

このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。



実装
    public function get value():*
    public function set value(value:any):void

valueSet

プロパティ 
valueSet:IList  [読み取り専用]

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The list of value of the data element in case when type of data element specified is ENUM.



実装
    public function get valueSet():IList
コンストラクターの詳細

VariableInstance

()コンストラクター
public function VariableInstance(value:VariableData)

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Constructor.

パラメーター
value:VariableData — The VariableData object associated with VariableInstance.
メソッドの詳細

addModuleInstance

()メソッド
public function addModuleInstance(moduleInstance:IModuleInstance):void

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Add the given moduleInstance to this VariableInstance, as a source of the associated Variable.

パラメーター

moduleInstance:IModuleInstance — The IModuleInstance object to be added to this VariableInstance.

destroy

()メソッド 
public function destroy():void

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The function called when the Variable instance is no longer required.It does the clean up like removing event listeners from the dependencies.

getModuleInstance

()メソッド 
public function getModuleInstance():IList

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Get the List of IModuleInstances for all modules that this VariableInstance's Variable is derived from.

戻り値
IList

getVariable

()メソッド 
public function getVariable():Variable

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Returns the instance of Variable associated with this underlying object.

戻り値
Variable

refresh

()メソッド 
public function refresh():void

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Refresh should be called when item is selected. This is useful in case when the the item is deselcted. In that case, if there is any change in variable value/ field value etc., those changes may not be propagated to module.

setup

()メソッド 
public function setup():void

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

The function to prepare the Variable instance for use.

variableDataChangeHandler

()メソッド 
protected function variableDataChangeHandler(event:VariableDataEvent):void

言語バージョン: ActionScript 3.0
製品バージョン: Asset Composer Building Block 10.0
ランタイムバージョン: AIR (unsupported), Flash Player 10.2

Called when the variable's value changes (which could be the result of a linked variable/field).

パラメーター

event:VariableDataEvent — The VariableDataEvent event dispatched on variable data change.





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

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