| Пакет | ga.views |
| Класс | public class TreeView |
| Наследование | TreeView Node ArrayCollection ListCollectionView Proxy |
| Реализует | IGuideView |
| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
TreeListView class provides the Guide sections and panels in a
tree structure that mimics the Guide tree created in the Guide Design perspective
within Adobe Digital Enterprise Platform Document Services - Workbench 10.0.
Свойство MXML по умолчаниюsource
Связанные элементы API
| Свойство | Определено | ||
|---|---|---|---|
![]() | filterFunction : Function
Функция, которую представление использует для устранения элементов, несоответствующих критериям функции. | ListCollectionView | |
| includeNestedSections : Boolean
Indicates if nested sections should appear in the tree. | TreeView | ||
| instance : ga.views:TreeView [статические] [только для чтения]
The common instance of this class. | TreeView | ||
![]() | length : int [только для чтения]
Число элементов в данном представлении. | ListCollectionView | |
![]() | list : IList
IList, вставляющий строки в данное представление коллекции. | ListCollectionView | |
| selectedIndex : int
Not implemented for this view. | TreeView | ||
| selectedItem : Object
[bindable] The selected panel. | TreeView | ||
![]() | sort : ISort
ISort, применяемый к ICollectionView. | ListCollectionView | |
![]() | source : Array
Источник данных в ArrayCollection. | ArrayCollection | |
| Метод | Определено | ||
|---|---|---|---|
TreeView()
Sets up the event listeners and initializes the tree structure. | TreeView | ||
![]() |
Добавляет список элементов к текущему списку, помещая их в конце списка в порядке передачи. | ListCollectionView | |
![]() |
Добавляет список элементов к текущему списку, помещая их в позиции индекса, передаваемого в функцию. | ListCollectionView | |
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии. | ListCollectionView | |
![]() |
Добавляет указанный элемент в конец списка. | ListCollectionView | |
![]() |
Добавляет элемент в заданный индекс. | ListCollectionView | |
![]() |
Возвращает значение, определяющее, содержит ли данное представление указанный объект. | ListCollectionView | |
![]() |
Создает новый IViewCursor, работающий с данным представлением. | ListCollectionView | |
![]() |
Предотвращает передачу представлением информации об изменениях коллекции и ее элементов. | ListCollectionView | |
![]() |
Посылает событие в поток событий. | ListCollectionView | |
![]() |
Активирует автоматическое обновление. | ListCollectionView | |
![]() |
Получает элемент, расположенный по заданному индексу. | ListCollectionView | |
![]() |
Возвращает индекс элемента, если он находится в списке, где, например getItemAt(индекс) == элемент. | ListCollectionView | |
![]() |
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события. | ListCollectionView | |
![]() |
Автоматически вызывается компилятором MXML при создании ListCollectionView с помощью тега MXML. | ListCollectionView | |
![]() | itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
Уведомляет представление об обновлении элемента. | ListCollectionView | |
Forwards events that can cause panel changes to the event listeners. | TreeView | ||
![]() |
Применяет сортировку и фильтр к представлению. | ListCollectionView | |
![]() |
Удаляет все элементы из списка. | ListCollectionView | |
![]() |
Удаляет прослушиватель из объекта EventDispatcher. | ListCollectionView | |
![]() |
Удаляет элемент в указанной позиции индекса и возвращает его. | ListCollectionView | |
![]() |
Помещает элемент в заданную позицию индекса. | ListCollectionView | |
![]() |
Возвращает массив, заполняемый в порядке, аналогичном реализации IList. | ListCollectionView | |
![]() |
Вводит содержимое данного представления в строку и возвращает ее. | ListCollectionView | |
![]() |
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником. | ListCollectionView | |
| Событие | Сводка | Определено | ||
|---|---|---|---|---|
![]() | Передается при обновлении ICollectionView. | ListCollectionView | ||
| Dispatched when a repeating panel is added to a Guide. | TreeView | |||
| Dispatched when a repeating panel is removed from a Guide. | TreeView | |||
| Dispatched when a panel is selected. | TreeView | |||
includeNestedSections | свойство |
includeNestedSections:Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Indicates if nested sections should appear in the tree. The default value is True.
Реализация
public function get includeNestedSections():Boolean public function set includeNestedSections(value:Boolean):voidinstance | свойство |
instance:ga.views:TreeView [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
The common instance of this class.
Реализация
public static function get instance():ga.views:TreeViewselectedIndex | свойство |
selectedIndex:int| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Not implemented for this view. This method always returns -1.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get selectedIndex():int public function set selectedIndex(value:int):voidselectedItem | свойство |
selectedItem:Object| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
[bindable] The selected panel.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get selectedItem():Object public function set selectedItem(value:Object):voidTreeView | () | Конструктор |
public function TreeView()| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Sets up the event listeners and initializes the tree structure.
pageChange | () | метод |
public function pageChange(event:GAEvent):void| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Forwards events that can cause panel changes to the event listeners.
Параметры
event:GAEvent — the GAEvent that triggered the call
|
pageAdd | Событие |
ga.model.GAEventсвойство GAEvent.type =
ga.model.GAEvent.PAGE_ADD| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Dispatched when a repeating panel is added to a Guide.
The properties of the event object have the following values:
| Property | Value |
|---|---|
page | The page that was added. |
section | The section that contains the added page. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
pageRemove | Событие |
ga.model.GAEventсвойство GAEvent.type =
ga.model.GAEvent.PAGE_REMOVE| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Dispatched when a repeating panel is removed from a Guide.
The properties of the event object have the following values:
| Property | Value |
|---|---|
page | The page that was removed. |
section | The section that contained the removed page. |
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
pageSelectionChange | Событие |
ga.model.GAEventсвойство GAEvent.type =
ga.model.GAEvent.PAGE_SELECTION_CHANGE| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Dispatched when a panel is selected.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
Tue Jun 12 2018, 11:34 AM Z
Скрыть унаследованные общедоступные свойства
Показать унаследованные общедоступные свойства