| Пакет | ga.model |
| Класс | public class PanelManager |
| Наследование | PanelManager EventDispatcher Object |
| Реализует | IHistoryManagerClient |
| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
PanelManager class manages the list of visible panels on a Guide.
The view classes use the panel manager as a source of the panels and to retrieve
and select the current panel.
Note: The term "page" is synonymous with "panel". A page implements the IPanel interface.
| Свойство | Определено | ||
|---|---|---|---|
![]() | constructor : Object
Ссылка на объект класса или функцию конструктора для данного экземпляра объекта. | Object | |
| currentPage : Page
[bindable] The currently selected panel. | PanelManager | ||
| currentPageIndex : int
The index of the current page
| PanelManager | ||
| firstPage : Page [только для чтения]
Returns the first panel. | PanelManager | ||
| gaModel : GuidedActivity
Returns the guided activity model
| PanelManager | ||
| instance : PanelManager [статические]
Returns a single instance of the PanelManager class. | PanelManager | ||
| lastPage : Page [только для чтения]
Returns the last panel. | PanelManager | ||
| nextPage : Page [только для чтения]
[bindable] Returns the next panel, or null if none exists. | PanelManager | ||
| pages : Array [только для чтения]
Returns the visible panels. | PanelManager | ||
| previousPage : Page [только для чтения]
[bindable] Returns the previous panel, or null if none exists. | PanelManager | ||
| selectedItem : Object
[bindable] Returns the current panel. | PanelManager | ||
| submitRequestTimestamp : Date | PanelManager | ||
| Метод | Определено | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Регистрирует объект прослушивателя события на объекте EventDispatcher для получения прослушивателем уведомления о событии. | EventDispatcher | |
If the panel is allowed to repeat, this method adds a new panel after the current panel. | PanelManager | ||
If the section is repeatable, this method adds a new section after the current section. | PanelManager | ||
Returns true if the user is allowed to change the panel due to validation. | PanelManager | ||
If the panel is allowed to repeat, this method creates a copy of a panel and adds it
after the current panel. | PanelManager | ||
If the section is repeatable, this method copies a new section after the current section. | PanelManager | ||
![]() |
Посылает событие в поток событий. | EventDispatcher | |
Sets the next panel as the current panel. | PanelManager | ||
Sets the previous panel as the current panel. | PanelManager | ||
![]() |
Проверяет, имеет ли объект EventDispatcher прослушиватели, зарегистрированные для определенного типа события. | EventDispatcher | |
![]() |
Показывает, определено ли заданное свойство для объекта. | Object | |
![]() |
Показывает, есть ли экземпляр класса Object в цепи прототипов объекта, заданного в качестве параметра. | Object | |
![]() |
Показывает наличие заданного свойства и его перечисляемость. | Object | |
![]() |
Удаляет прослушиватель из объекта EventDispatcher. | EventDispatcher | |
If the panel is repeatable, this method removes the current panel. | PanelManager | ||
If the section is repeatable, this method removes the current section. | PanelManager | ||
![]() |
Задает доступность динамического свойства для операций цикла. | Object | |
If the Submit button on the form contains a script, this method executes the
script, validates the form data, and then submits the data to the server. | PanelManager | ||
submitToUrl(xmlData:String, targetUrl:String, requireValidation:Boolean = false, window:String = "_self"):void
Send the panel data to the specified URL. | PanelManager | ||
![]() |
Возвращает строковое представление этого объекта, отформатированного в соответствии со стандартами, принятыми для данной локали. | Object | |
![]() |
Возвращает строковое представление заданного объекта. | Object | |
Validates the Guide data, and returns true if validation was successful. | PanelManager | ||
Returns true if the user is allowed to change to the panel provided due to validation. | PanelManager | ||
![]() |
Возвращает элементарное значение заданного объекта. | Object | |
![]() |
Проверяет, зарегистрирован ли прослушиватель события для указанного типа события с данным объектом EventDispatcher или любым его предшественником. | EventDispatcher | |
| Событие | Сводка | Определено | ||
|---|---|---|---|---|
![]() | [многоадресное событие] Отправляется, когда проигрыватель Flash Player или приложение AIR перемещается в фокус операционной системы и становится активным. | EventDispatcher | ||
![]() | [многоадресное событие] Отправляется, когда проигрыватель Flash Player или приложение AIR теряет фокус системы и становится неактивным. | EventDispatcher | ||
| Dispatched by a page, panel, or section whenever the error string for a Guide field changes. | PanelManager | |||
| Dispatched when a Guide initializes. | PanelManager | |||
| Dispatched when a repeating panel is added to a Guide. | PanelManager | |||
| Dispatched when a repeating panel is removed from a Guide. | PanelManager | |||
| Dispatched when a panel is selected. | PanelManager | |||
| Dispatched when a repeating section is added to a Guide. | PanelManager | |||
| Dispatched when a repeating section is removed from a Guide. | PanelManager | |||
currentPage | свойство |
currentPage:Page| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
[bindable] The currently selected panel.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get currentPage():Page public function set currentPage(value:Page):voidcurrentPageIndex | свойство |
currentPageIndex:int| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
The index of the current page
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get currentPageIndex():int public function set currentPageIndex(value:int):voidfirstPage | свойство |
firstPage:Page [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Returns the first panel.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get firstPage():PagegaModel | свойство |
gaModel:GuidedActivity| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Returns the guided activity model
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get gaModel():GuidedActivity public function set gaModel(value:GuidedActivity):voidinstance | свойство |
instance:PanelManager| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Returns a single instance of the PanelManager class.
Реализация
public static function get instance():PanelManager public static function set instance(value:PanelManager):voidlastPage | свойство |
lastPage:Page [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Returns the last panel.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get lastPage():PagenextPage | свойство |
nextPage:Page [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the next panel, or null if none exists.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get nextPage():Pagepages | свойство |
previousPage | свойство |
previousPage:Page [только для чтения] | Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the previous panel, or null if none exists.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get previousPage():PageselectedItem | свойство |
selectedItem:Object| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the current panel.
Это свойство можно использовать в качестве источника для связывания данных. При изменении этого свойства отправляется событие propertyChange .
Реализация
public function get selectedItem():Object public function set selectedItem(value:Object):voidsubmitRequestTimestamp | свойство |
addPage | () | метод |
public function addPage():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method adds a new panel after the current panel.
ВозвращаетBoolean — Boolean true if the page was added.
|
addSection | () | метод |
public function addSection():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method adds a new section after the current section.
ВозвращаетBoolean — Boolean true if the section was added.
|
canGoForward | () | метод |
public function canGoForward():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change the panel due to validation.
ВозвращаетBoolean — Boolean whether or not the user is allowed to page forward.
|
copyPage | () | метод |
public function copyPage():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method creates a copy of a panel and adds it after the current panel.
ВозвращаетBoolean — Boolean whether or not the page was copied.
|
copySection | () | метод |
public function copySection():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method copies a new section after the current section.
ВозвращаетBoolean — Boolean whether or not the section was copied.
|
goNextPage | () | метод |
public function goNextPage():void| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Sets the next panel as the current panel.
goPreviousPage | () | метод |
public function goPreviousPage():void| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Sets the previous panel as the current panel.
removePage | () | метод |
public function removePage():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
If the panel is repeatable, this method removes the current panel.
ВозвращаетBoolean — Boolean whether or not the page was removed.
|
removeSection | () | метод |
public function removeSection():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method removes the current section.
ВозвращаетBoolean — Boolean whether or not the section was removed.
|
submit | () | метод |
public function submit():void| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
If the Submit button on the form contains a script, this method executes the script, validates the form data, and then submits the data to the server.
submitToUrl | () | метод |
public function submitToUrl(xmlData:String, targetUrl:String, requireValidation:Boolean = false, window:String = "_self"):void| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Send the panel data to the specified URL. The results display in a new window.
Параметры
xmlData:String — the xml data to be submitted
| |
targetUrl:String — the url to submit to
| |
requireValidation:Boolean (default = false) — true if validation is required prior to submit
| |
window:String (default = "_self") — the window to display the results of the submission
|
validate | () | метод |
public function validate():Boolean| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Validates the Guide data, and returns true if validation was successful. If validation fails, the GAEvent.GUIDE_VALIDATION_FAILED event is dispatched.
ВозвращаетBoolean — Boolean true if validation was successful.
|
Связанные элементы API
validateNavigation | () | метод |
public function validateNavigation(requestedPage:Page):Page| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change to the panel provided due to validation. Any previous panel is ok to go to, but may not be allowed to go to a next panel.
Параметры
requestedPage:Page — validations are run against all pages preceeding the requestedPage.
|
Page — either a panel with validation errors or the requested page.
|
errorStringChanged | Событие |
ga.model.GAEventсвойство GAEvent.type =
ga.model.GAEvent.ERROR_STRING_CHANGED| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Dispatched by a page, panel, or section whenever the error string for a Guide field changes.
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. |
initialized | Событие |
ga.model.GAEventсвойство GAEvent.type =
ga.model.GAEvent.INITIALIZED| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Dispatched when a Guide initializes.
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. |
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. |
sectionAdd | Событие |
ga.model.GAEventсвойство GAEvent.type =
ga.model.GAEvent.SECTION_ADD| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Dispatched when a repeating section is added to a Guide.
The properties of the event object have the following values:
| Property | Value |
|---|---|
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. |
sectionRemove | Событие |
ga.model.GAEventсвойство GAEvent.type =
ga.model.GAEvent.SECTION_REMOVE| Язык версии: | ActionScript 3.0 |
| Версия продукта: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Версии среды выполнения: | AIR 1.0, Flash Player 10.2 |
Dispatched when a repeating section is removed from a Guide.
The properties of the event object have the following values:
| Property | Value |
|---|---|
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. |
Tue Jun 12 2018, 11:34 AM Z
Скрыть унаследованные общедоступные свойства
Показать унаследованные общедоступные свойства