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

TargetInstance  - AS3 Asset Composer

パッケージcom.adobe.icc.dc.domain
クラスpublic class TargetInstance
継承TargetInstance Inheritance EventDispatcher Inheritance Object
実装 IContainerInstance, IValidation

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

This class is the runtime representation of the target area associated with the letter.



パブリックプロパティ
 プロパティ定義元
  allowFreeText : Boolean
[読み取り専用] True if the free text can be added to target instance.
TargetInstance
 Inheritedconstructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクター関数への参照です。
Object
  contents : IList
[読み取り専用] List of the contents associated with this Container instance.
TargetInstance
  contentVariables : IList
[読み取り専用] Bindable/Read-only.
TargetInstance
  formSomExpression : String
[読み取り専用] The SOM Expression of the target.
TargetInstance
  hasContentRemoved : Boolean
[読み取り専用] True if the Target has one or more content removed from it, than what was originall assigned.
TargetInstance
  isNewTarget : Boolean = false
[Applicable during reload] True if this is a new container target, that did not exist when the Letter was submitted.
TargetInstance
  name : String
[読み取り専用] The name of the target.
TargetInstance
  open : Boolean
[読み取り専用] True if the container is open to extra content; false if it only allows content that was explicitly assigned to it in the letter.
TargetInstance
  order : int
[読み取り専用] The target's depth-first order.
TargetInstance
  ordered : Boolean
[読み取り専用] True if the container's contents order is fixed; false if its contents can be re-ordered.
TargetInstance
  valid : Boolean
[読み取り専用] Boolean indicating whether the content is valid
TargetInstance
パブリックメソッド
 メソッド定義元
  
TargetInstance(targetData:com.adobe.icc.dc.data:TargetData, reloadTarget:com.adobe.icc.dc.data.reload:ReloadTarget = null)
Constructor.
TargetInstance
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventDispatcher オブジェクトに登録し、リスナーがイベントの通知を受け取るようにします。
EventDispatcher
  
addRawModule(dataModule:DataModule, position:int = -1):IModuleInstance
Inserts the specified raw DataModule into the list's contents as extra selected content if list is open.
TargetInstance
 Inherited
イベントをイベントフローに送出します。
EventDispatcher
 Inherited
EventDispatcher オブジェクトに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。
EventDispatcher
 Inherited
オブジェクトに指定されたプロパティが定義されているかどうかを示します。
Object
 Inherited
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。
Object
  
moveContent(sourceModule:IModuleInstance, moveUp:Boolean):void
Moves the specified item within the list's content one position in the specified direction.
TargetInstance
 Inherited
指定されたプロパティが存在し、列挙できるかどうかを示します。
Object
  
Refresh should be called when item is selected.
TargetInstance
  
Removes the specified item from the list's collection if the item is found in the collection and is non mandatory
TargetInstance
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
EventDispatcher オブジェクトからリスナーを削除します。
EventDispatcher
 Inherited
ループ処理に対するダイナミックプロパティの可用性を設定します。
Object
 Inherited
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。
Object
 Inherited
指定されたオブジェクトのストリング表現を返します。
Object
  
The function checks for the valid state of the Module instances and accordingly updates the valid flag.
TargetInstance
 Inherited
指定されたオブジェクトのプリミティブな値を返します。
Object
 Inherited
指定されたイベントタイプについて、この EventDispatcher オブジェクトまたはその祖先にイベントリスナーが登録されているかどうかを確認します。
EventDispatcher
プロテクトメソッド
 メソッド定義元
  
Everytime when contentVariables list is updated, it removes variable change listeners in old varaibleInstance and add variable change listeners in new variableInstance.
TargetInstance
イベント
 イベント 概要 定義元
 Inherited[ブロードキャストイベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを取得して、アクティブになったときに送出されます。EventDispatcher
 Inherited[ブロードキャストイベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを失って、非アクティブになったときに送出されます。EventDispatcher
プロパティの詳細

allowFreeText

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

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

True if the free text can be added to target instance.



実装
    public function get allowFreeText():Boolean

contents

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

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

List of the contents associated with this Container instance.

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



実装
    public function get contents():IList

contentVariables

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

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

Bindable/Read-only. The set of active variables for the module. Empty if there are none.

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



実装
    public function get contentVariables():IList

formSomExpression

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

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

The SOM Expression of the target.



実装
    public function get formSomExpression():String

hasContentRemoved

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

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

True if the Target has one or more content removed from it, than what was originall assigned. [Relevant when reloading]



実装
    public function get hasContentRemoved():Boolean

isNewTarget

プロパティ 
public var isNewTarget:Boolean = false

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

[Applicable during reload] True if this is a new container target, that did not exist when the Letter was submitted.

デフォルト値: false。

name

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

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

The name of the target.



実装
    public function get name():String

open

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

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

True if the container is open to extra content; false if it only allows content that was explicitly assigned to it in the letter.



実装
    public function get open():Boolean

order

プロパティ 
order:int  [読み取り専用]

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

The target's depth-first order.



実装
    public function get order():int

ordered

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

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

True if the container's contents order is fixed; false if its contents can be re-ordered.



実装
    public function get ordered():Boolean

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

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



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

TargetInstance

()コンストラクター
public function TargetInstance(targetData:com.adobe.icc.dc.data:TargetData, reloadTarget:com.adobe.icc.dc.data.reload:ReloadTarget = null)

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

Constructor.

パラメーター
targetData:com.adobe.icc.dc.data:TargetData — The TargetData object associated with this TargetInstance.
 
reloadTarget:com.adobe.icc.dc.data.reload:ReloadTarget (default = null) — Reload Target for the case of correspondence reload.
メソッドの詳細

addRawModule

()メソッド
public function addRawModule(dataModule:DataModule, position:int = -1):IModuleInstance

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

Inserts the specified raw DataModule into the list's contents as extra selected content if list is open.

パラメーター

dataModule:DataModule — dataModule The module to select/insert.
 
position:int (default = -1) — The absolute position at which to insert the module into the contents list. The dataModule becomes the new element at that position in the list. If position is less than zero or beyond the end of the list, the content is appended. If the list is fixed-order, then module is appended at end.

戻り値
IModuleInstance

moveContent

()メソッド 
public function moveContent(sourceModule:IModuleInstance, moveUp:Boolean):void

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

Moves the specified item within the list's content one position in the specified direction.

パラメーター

sourceModule:IModuleInstance — The item to move.
 
moveUp:Boolean — True to move up, false to move down.

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.

removeContent

()メソッド 
public function removeContent(sourceModule:IModuleInstance):void

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

Removes the specified item from the list's collection if the item is found in the collection and is non mandatory

パラメーター

sourceModule:IModuleInstance — The item to be removed.

setContentVariables

()メソッド 
protected function setContentVariables(value:IList):void

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

Everytime when contentVariables list is updated, it removes variable change listeners in old varaibleInstance and add variable change listeners in new variableInstance.

パラメーター

value:IList — The list of VariableInstance objects.

validate

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

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

The function checks for the valid state of the Module instances and accordingly updates the valid flag.





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

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