Справочник по ActionScript® 3.0 для платформы Adobe® Flash®
Домашняя страница  |  Скрыть список пакетов и классов |  Пакеты  |  Классы  |  Что нового  |  Указатель  |  Приложения  |  Почему по-английски?
Фильтры: Получение данных с сервера...
Получение данных с сервера...
ga.views 

DynamicSectionView  - AS3 ADEP Guides

Пакетga.views
Классpublic class DynamicSectionView
НаследованиеDynamicSectionView Inheritance Node Inheritance ArrayCollection Inheritance ListCollectionView Inheritance Proxy
Реализует IGuideView

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Document Services - Guides 9
Версии среды выполнения: AIR 1.0, Flash Player 10.2

The DynamicSectionView class provides a dynamic list of the panels contained within the currently selected section. When the currently selected section changes, this class provides an updated list of panels for the newly selected section. For example, using the following example Guide tree:
Guide  
 Section A 
  Panel A-1
  Panel A-2
 Section B  
  Panel B-1
When you specify Section A, this class provides the following panels:
  • Panel A-1
  • Panel A-2
When you specify Section B, this class provides the following panel:
  • Panel B-1

Свойство MXML по умолчаниюsource

Связанные элементы API



Общедоступные свойства
 СвойствоОпределено
 InheritedfilterFunction : Function
Функция, которую представление использует для устранения элементов, несоответствующих критериям функции.
ListCollectionView
  instance : DynamicSectionView
[статические] [только для чтения] The common instance of this class.
DynamicSectionView
  label : String
[только для чтения] The name of the current section.
DynamicSectionView
 Inheritedlength : int
[только для чтения] Число элементов в данном представлении.
ListCollectionView
 Inheritedlist : IList
IList, вставляющий строки в данное представление коллекции.
ListCollectionView
  selectedIndex : int
[bindable] The index of the selected section.
DynamicSectionView
  selectedItem : Object
[bindable] The selected section.
DynamicSectionView
 Inheritedsort : ISort
ISort, применяемый к ICollectionView.
ListCollectionView
 Inheritedsource : Array
Источник данных в ArrayCollection.
ArrayCollection
Защищенные свойства
 СвойствоОпределено
 InheritedlocalIndex : Array
Если представление является отсортированным или отфильтрованным, свойство localIndex содержит массив элементов в отсортированном или отфильтрованном (упорядоченном, уменьшенном) представлении в порядке сортировки.
ListCollectionView
Общедоступные методы
 МетодОпределено
  
Constructor
DynamicSectionView
 Inherited
addAll(addList:IList):void
Добавляет список элементов к текущему списку, помещая их в конце списка в порядке передачи.
ListCollectionView
 Inherited
addAllAt(addList:IList, index:int):void
Добавляет список элементов к текущему списку, помещая их в позиции индекса, передаваемого в функцию.
ListCollectionView
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии.
ListCollectionView
 Inherited
Добавляет указанный элемент в конец списка.
ListCollectionView
 Inherited
addItemAt(item:Object, index:int):void
Добавляет элемент в заданный индекс.
ListCollectionView
 Inherited
Возвращает значение, определяющее, содержит ли данное представление указанный объект.
ListCollectionView
 Inherited
Создает новый IViewCursor, работающий с данным представлением.
ListCollectionView
 Inherited
Предотвращает передачу представлением информации об изменениях коллекции и ее элементов.
ListCollectionView
 Inherited
Посылает событие в поток событий.
ListCollectionView
 Inherited
Активирует автоматическое обновление.
ListCollectionView
 Inherited
getItemAt(index:int, prefetch:int = 0):Object
Получает элемент, расположенный по заданному индексу.
ListCollectionView
 Inherited
Возвращает индекс элемента, если он находится в списке, где, например getItemAt(индекс) == элемент.
ListCollectionView
 Inherited
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события.
ListCollectionView
 Inherited
Автоматически вызывается компилятором MXML при создании ListCollectionView с помощью тега MXML.
ListCollectionView
 Inherited
itemUpdated(item:Object, property:Object = null, oldValue:Object = null, newValue:Object = null):void
Уведомляет представление об обновлении элемента.
ListCollectionView
 Inherited
Применяет сортировку и фильтр к представлению.
ListCollectionView
 Inherited
Удаляет все элементы из списка.
ListCollectionView
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Удаляет прослушиватель из объекта EventDispatcher.
ListCollectionView
 Inherited
Удаляет элемент в указанной позиции индекса и возвращает его.
ListCollectionView
 Inherited
setItemAt(item:Object, index:int):Object
Помещает элемент в заданную позицию индекса.
ListCollectionView
 Inherited
Возвращает массив, заполняемый в порядке, аналогичном реализации IList.
ListCollectionView
 Inherited
Вводит содержимое данного представления в строку и возвращает ее.
ListCollectionView
 Inherited
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником.
ListCollectionView
События
 Событие Сводка Определено
 InheritedПередается при обновлении ICollectionView.ListCollectionView
   Dispatched when a repeating panel is added to a Guide.DynamicSectionView
   Dispatched when a repeating panel is removed from a Guide.DynamicSectionView
   Dispatched when a panel is selected.DynamicSectionView
Сведения о свойстве

instance

свойство
instance:DynamicSectionView  [только для чтения]

Язык версии: 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():DynamicSectionView

label

свойство 
label:String  [только для чтения]

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Document Services - Guides 9
Версии среды выполнения: AIR 1.0, Flash Player 10.2

The name of the current section.



Реализация
    public function get label():String

selectedIndex

свойство 
selectedIndex:int

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Document Services - Guides 9
Версии среды выполнения: AIR 1.0, Flash Player 10.2

[bindable] The index of the selected section.

Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .



Реализация
    public function get selectedIndex():int
    public function set selectedIndex(value:int):void

selectedItem

свойство 
selectedItem:Object

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Document Services - Guides 9
Версии среды выполнения: AIR 1.0, Flash Player 10.2

[bindable] The selected section.

Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .



Реализация
    public function get selectedItem():Object
    public function set selectedItem(value:Object):void
Сведения о конструкторе

DynamicSectionView

()Конструктор
public function DynamicSectionView()

Язык версии: ActionScript 3.0
Версия продукта: Adobe Digital Enterprise Platform Document Services - Guides 9
Версии среды выполнения: AIR 1.0, Flash Player 10.2

Constructor

Сведения о событии

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:

PropertyValue
pageThe page that was added.
sectionThe section that contains the added page.
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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:

PropertyValue
pageThe page that was removed.
sectionThe section that contained the removed page.
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
targetThe 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.




[ X ]Почему по-английски?
Содержимое Справочника ActionScript 3.0 отображается на английском языке

Не все части Справочника ActionScript 3.0 переводятся на все языки. Если какой-то текстовый элемент не переведен, он отображается на английском языке. Например, компонент ga.controls.HelpBox не переведен ни на один из языков. Это значит, что в русской версии справки компонент ga.controls.HelpBox будет отображаться на английском языке.