Пакет | com.adobe.icc.dc.domain |
Класс | public class ListModuleInstance |
Наследование | ListModuleInstance BaseModuleInstance EventDispatcher Object |
Реализует | IContainerInstance |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
Свойство | Определено | ||
---|---|---|---|
assignedPosition : int [только для чтения]
The assigned position of the module within its container. | BaseModuleInstance | ||
constructor : Object
Ссылка на объект класса или функцию конструктора для данного экземпляра объекта. | Object | ||
contents : IList [только для чтения]
List of the contents associated with this Container instance. | ListModuleInstance | ||
contentVariables : IList [только для чтения]
The set of active variables for the module. | BaseModuleInstance | ||
description : String [только для чтения]
Description associated with this ModuleInstance. | BaseModuleInstance | ||
editable : Boolean [только для чтения]
True if this module is editable in its container (based on the assignment). | BaseModuleInstance | ||
extra : Boolean [только для чтения]
The flag indicating if this module was not assigned while creating the letter. | BaseModuleInstance | ||
hasConflict : Boolean [только для чтения]
The flag indicating if this module is conflicting with its latest version. | BaseModuleInstance | ||
hasContentRemoved : Boolean [только для чтения]
True if the List has one or more content removed from it, than what was originall assigned. | ListModuleInstance | ||
id : String [только для чтения]
Unique identification associated with this ModuleInstance. | BaseModuleInstance | ||
indentationLevel : Number
The level of indentation of the module with respect to the container holding the module instance. | BaseModuleInstance | ||
moduleType : String [переопределить] [только для чтения]
Module type represented by this ModuleInstance: Text,Image,List,Condition
| ListModuleInstance | ||
moduleVo : DataModule [только для чтения]
The instance of DataModule associated with this module instance. | BaseModuleInstance | ||
name : String [только для чтения]
Name associated with this ModuleInstance. | BaseModuleInstance | ||
newMandatory : Boolean [только для чтения]
The flag indicating if this module was not mandatory earlier but is now mandatory when considering the latest version of the module instance. | BaseModuleInstance | ||
nonEditableOverride : Boolean [только для чтения]
The flag indicating if this module was editable earlier but is now non-editable when considering the latest version of the module instance. | BaseModuleInstance | ||
occur : int
The occurrence index of this content within its parent container. | BaseModuleInstance | ||
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. | ListModuleInstance | ||
optional : Boolean [только для чтения]
True if this module is optional in its container (based on the assignment, not the selected state). | BaseModuleInstance | ||
ordered : Boolean [только для чтения]
True if the container's contents order is fixed; false if its contents can be re-ordered. | ListModuleInstance | ||
parentContainer : IContainerInstance [только для чтения]
Parent container instance containing this ModuleInstance
| BaseModuleInstance | ||
preSelected : Boolean [только для чтения]
True if this module is pre-selected/removable in its container (based on the assignment, not the selected state). | BaseModuleInstance | ||
selected : Boolean
Is the module is selected to be included in letter
| BaseModuleInstance | ||
selectedPosition : int
Position of the content in it's container among all the selected contents of the container. | BaseModuleInstance | ||
skipStyle : Boolean [только для чтения]
Skip Style of the module. | BaseModuleInstance | ||
tooltip : String [только для чтения]
Tooltip associated with this ModuleInstance. | BaseModuleInstance | ||
valid : Boolean [только для чтения]
Boolean indicating whether the content is valid
| BaseModuleInstance |
Метод | Определено | ||
---|---|---|---|
ListModuleInstance(vListData:ListData, vParentContainer:IContainerInstance = null, remod:ReloadModule = null)
Constructor. | ListModuleInstance | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии. | EventDispatcher | ||
Inserts the specified raw DataModule into the list's contents as extra selected content if list is open. | ListModuleInstance | ||
Посылает событие в поток событий. | EventDispatcher | ||
If true, the numbering across the modules of the target List module would be compounded (i.e. | ListModuleInstance | ||
If true, the List's own style is ignored, and the numbering would continue from the outer List
(as if the modules of the nested list were part of the outer list itself), disregarding any styles specified on
the nested List. | ListModuleInstance | ||
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события. | EventDispatcher | ||
Показывает, определено ли заданное свойство для объекта. | Object | ||
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра. | Object | ||
Moves the specified item within the list's content one position in the specified direction. | ListModuleInstance | ||
Показывает наличие заданного свойства и его перечисляемость. | Object | ||
[переопределить]
Refresh should be called when item is selected. | ListModuleInstance | ||
Removes the specified item from the list's collection if the item is found in the collection and is non mandatory
| ListModuleInstance | ||
Удаляет прослушиватель из объекта EventDispatcher. | EventDispatcher | ||
Задает доступность динамического свойства для операций цикла. | Object | ||
[переопределить]
| ListModuleInstance | ||
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали. | Object | ||
Возвращает строковое представление заданного объекта. | Object | ||
Возвращает элементарное значение заданного объекта. | Object | ||
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником. | EventDispatcher |
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
hasContentRemoved | свойство |
hasContentRemoved:Boolean
[только для чтения] Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
True if the List has one or more content removed from it, than what was originall assigned. [Relevant when reloading]
Реализация
public function get hasContentRemoved():Boolean
moduleType | свойство |
moduleType:String
[только для чтения] [переопределить] Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
Module type represented by this ModuleInstance: Text,Image,List,Condition
Реализация
override public function get moduleType():String
Связанные элементы API
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
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
ListModuleInstance | () | Конструктор |
public function ListModuleInstance(vListData:ListData, vParentContainer:IContainerInstance = null, remod:ReloadModule = null)
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
Constructor.
ПараметрыvListData:ListData — ListData object represented by this instance.
| |
vParentContainer:IContainerInstance (default = null ) — Container of the List Module that can be a list or a target area.
| |
remod:ReloadModule (default = null ) — Reload Module 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 —
|
getCompoundNumbering | () | метод |
public function getCompoundNumbering():Boolean
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
If true, the numbering across the modules of the target List module would be compounded (i.e. of the format '1.1., 1.2.,...' or '1.a., 1.b.,...', etc.) When including a (nested) 'Plain/Bulleted' List as a target with the Compound Numbering option checked, the compound numbering style is applied as per the outer List's style. For instance, if the outer List has a style of '1, 2, 3..', the numbering on the nested List would be '1.1., 1.2...'; if the outer List has a style of 'A, B, C..', the numbering on the nested List would be 'A.A.., A.B....'; and so on.
ВозвращаетBoolean —
|
getIgnoreListStyle | () | метод |
public function getIgnoreListStyle():Boolean
Язык версии: | ActionScript 3.0 |
Версия продукта: | Asset Composer Building Block 10.0 |
Версии среды выполнения: | AIR (unsupported), Flash Player 10.2 |
If true, the List's own style is ignored, and the numbering would continue from the outer List (as if the modules of the nested list were part of the outer list itself), disregarding any styles specified on the nested List.
ВозвращаетBoolean —
|
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 | () | метод |
override 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.
|
setSkipStyle | () | метод |
Tue Jun 12 2018, 11:34 AM Z