ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icc.dc.domain 

IContainerInstance  - AS3 Asset Composer

Packagecom.adobe.icc.dc.domain
Interfacepublic interface IContainerInstance
Implementors ConditionModuleInstance, ListModuleInstance, TargetInstance

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Interface to be implemented by the container classes that can contain selected or optional ModuleInstance objects



Public Properties
 PropertyDefined By
  contents : IList
[read-only] List of the contents associated with this Container instance.
IContainerInstance
  name : String
[read-only] The name property of the Container instance.
IContainerInstance
  open : Boolean
[read-only] True if the container is open to extra content; false if it only allows content that was explicitly assigned to it in the letter.
IContainerInstance
  ordered : Boolean
[read-only] True if the container's contents order is fixed; false if its contents can be re-ordered.
IContainerInstance
Public Methods
 MethodDefined By
  
moveContent(sourceModule:IModuleInstance, moveUp:Boolean):void
Moves the selected content inside the Container area in up or down direction with respect to it's current position.
IContainerInstance
  
Removes the selected content from the container area.
IContainerInstance
Property Detail

contents

property
contents:IList  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

List of the contents associated with this Container instance.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



Implementation
    public function get contents():IList

name

property 
name:String  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

The name property of the Container instance.



Implementation
    public function get name():String

open

property 
open:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: 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.



Implementation
    public function get open():Boolean

ordered

property 
ordered:Boolean  [read-only]

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

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



Implementation
    public function get ordered():Boolean
Method Detail

moveContent

()method
public function moveContent(sourceModule:IModuleInstance, moveUp:Boolean):void

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Moves the selected content inside the Container area in up or down direction with respect to it's current position.

Parameters

sourceModule:IModuleInstance — The selected content.
 
moveUp:Boolean — Value true moves the selected content a level up from it's current position.

removeContent

()method 
public function removeContent(sourceModule:IModuleInstance):void

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10.0
Runtime Versions: AIR (unsupported), Flash Player 10.2

Removes the selected content from the container area.

Parameters

sourceModule:IModuleInstance — The selected content.