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 

IDataInstance  - AS3 Asset Composer

Packagecom.adobe.icc.dc.domain
Interfacepublic interface IDataInstance extends IValidation , IEventDispatcher
Implementors FieldInstance, VariableInstance

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

Represents the Data elements used in the letter which can be a variable or a field type data instance.



Public Properties
 PropertyDefined By
  caption : String
[read-only] The caption property of the underlying value object.
IDataInstance
  dataType : String
[read-only] Return the field type
IDataInstance
  editable : Boolean
[read-only] True if the underlying object is editable.
IDataInstance
  name : String
[read-only] The name property of the underlying value object.
IDataInstance
  optional : Boolean
[read-only] True if the underlying object is optional.
IDataInstance
  subType : String
[read-only] The sub type of the data element in case when type of data element specified is ENUM.
IDataInstance
  toolTip : String
[read-only] The toolTip property of the underlying value object.
IDataInstance
 Inheritedvalid : Boolean
[read-only] Boolean indicating whether the content is valid
IValidation
  value : *
The value of the data element(variable or field) associated with the letter instance.
IDataInstance
  valueSet : IList
[read-only] The list of value of the data element in case when type of data element specified is ENUM.
IDataInstance
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
IEventDispatcher
 Inherited
Dispatches an event into the event flow.
IEventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
IEventDispatcher
 Inherited
Refresh should be called when item is selected.
IValidation
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
IEventDispatcher
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
IEventDispatcher
Property Detail

caption

property
caption: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 caption property of the underlying value object.



Implementation
    public function get caption():String

dataType

property 
dataType:String  [read-only]

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

Return the field type



Implementation
    public function get dataType():String

Related API Elements

editable

property 
editable: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 underlying object is editable.



Implementation
    public function get editable():Boolean

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 underlying value object.



Implementation
    public function get name():String

optional

property 
optional: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 underlying object is optional.



Implementation
    public function get optional():Boolean

subType

property 
subType: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 sub type of the data element in case when type of data element specified is ENUM.



Implementation
    public function get subType():String

toolTip

property 
toolTip: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 toolTip property of the underlying value object.



Implementation
    public function get toolTip():String

value

property 
value:*

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

The value of the data element(variable or field) associated with the letter 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 value():*
    public function set value(value:any):void

valueSet

property 
valueSet:IList  [read-only]

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

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



Implementation
    public function get valueSet():IList