Package | com.adobe.icc.dc.domain |
Class | public class FieldInstance |
Inheritance | FieldInstance EventDispatcher Object |
Implements | IDataInstance |
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Property | Defined By | ||
---|---|---|---|
caption : String [read-only]
The caption property of the underlying value object. | FieldInstance | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
dataType : String [read-only]
Return the field type
| FieldInstance | ||
dataTypeValid : Boolean
True if the field's value filled by the user fits in well as per the data type of the field. | FieldInstance | ||
editable : Boolean [read-only]
True if the underlying object is editable. | FieldInstance | ||
formSomExpression : String [read-only]
The SOM Expression of the target. | FieldInstance | ||
isNewField : Boolean [read-only]
[Applicable during reload]
True if this is a new Field, that did not exist when the Letter was submitted. | FieldInstance | ||
isRemoved : Boolean [read-only]
[Applicable during reload]
True if this Field has been removed from the latest version of the layout. | FieldInstance | ||
name : String [read-only]
The name property of the underlying value object. | FieldInstance | ||
optional : Boolean [read-only]
True if the underlying object is optional. | FieldInstance | ||
order : int [read-only]
The order of a field represents the order in which it is laid out in the layout or fragment of a letter. | FieldInstance | ||
subType : String [read-only]
The sub type of the data element in case when type of data element specified is ENUM. | FieldInstance | ||
toolTip : String [read-only]
The toolTip property of the underlying value object. | FieldInstance | ||
valid : Boolean [read-only]
Boolean indicating whether the content is valid
| FieldInstance | ||
value : *
The value of the data element(variable or field) associated with the letter instance. | FieldInstance | ||
valueSet : IList [read-only]
The list of value of the data element in case when type of data element specified is ENUM. | FieldInstance |
Method | Defined By | ||
---|---|---|---|
FieldInstance(value:FieldData)
Constructor. | FieldInstance | ||
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. | EventDispatcher | ||
Dispatches an event into the event flow. | EventDispatcher | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | EventDispatcher | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Refresh should be called when item is selected. | FieldInstance | ||
Removes a listener from the EventDispatcher object. | EventDispatcher | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of
its ancestors for the specified event type. | EventDispatcher |
caption | property |
dataType | property |
dataTypeValid | property |
dataTypeValid:Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
True if the field's value filled by the user fits in well as per the data type of the field. for e.g dataTypeValid attribute is false when a string is filled in for a Number-type field.
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 dataTypeValid():Boolean
public function set dataTypeValid(value:Boolean):void
editable | property |
formSomExpression | property |
isNewField | property |
isNewField:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
[Applicable during reload] True if this is a new Field, that did not exist when the Letter was submitted.
The default value is false.
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 isNewField():Boolean
isRemoved | property |
isRemoved:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
[Applicable during reload] True if this Field has been removed from the latest version of the layout.
The default value is false.
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 isRemoved():Boolean
name | property |
optional | property |
order | property |
order:int
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
The order of a field represents the order in which it is laid out in the layout or fragment of a letter.
Implementation
public function get order():int
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 |
valid | property |
valid:Boolean
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Boolean indicating whether the content is valid
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 valid():Boolean
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
FieldInstance | () | Constructor |
public function FieldInstance(value:FieldData)
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | AIR (unsupported), Flash Player 10.2 |
Constructor.
Parametersvalue:FieldData — The FieldData object represented by FieldInstance.
|
refresh | () | method |
public function refresh():void
Language Version: | ActionScript 3.0 |
Product Version: | Asset Composer Building Block 10.0 |
Runtime Versions: | 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.
Thu Dec 6 2018, 01:12 PM -08:00