| Package | ga.model |
| Classe | public class PanelManager |
| Héritage | PanelManager EventDispatcher Object |
| Implémente | IHistoryManagerClient |
| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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.
| Propriété | Défini par | ||
|---|---|---|---|
![]() | constructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet. | Object | |
| currentPage : Page
[bindable] The currently selected panel. | PanelManager | ||
| currentPageIndex : int
The index of the current page
| PanelManager | ||
| firstPage : Page [lecture seule]
Returns the first panel. | PanelManager | ||
| gaModel : GuidedActivity
Returns the guided activity model
| PanelManager | ||
| instance : PanelManager [statique]
Returns a single instance of the PanelManager class. | PanelManager | ||
| lastPage : Page [lecture seule]
Returns the last panel. | PanelManager | ||
| nextPage : Page [lecture seule]
[bindable] Returns the next panel, or null if none exists. | PanelManager | ||
| pages : Array [lecture seule]
Returns the visible panels. | PanelManager | ||
| previousPage : Page [lecture seule]
[bindable] Returns the previous panel, or null if none exists. | PanelManager | ||
| selectedItem : Object
[bindable] Returns the current panel. | PanelManager | ||
| submitRequestTimestamp : Date | PanelManager | ||
| Méthode | Défini par | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Enregistre un objet écouteur d’événement auprès d’un objet EventDispatcher afin que l’écouteur soit averti d’un événement. | 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 | ||
![]() |
Distribue un événement dans le flux d’événements. | EventDispatcher | |
Sets the next panel as the current panel. | PanelManager | ||
Sets the previous panel as the current panel. | PanelManager | ||
![]() |
Vérifie si des écouteurs sont enregistrés auprès de l’objet EventDispatcher pour un type spécifique d’événement. | EventDispatcher | |
![]() |
Indique si la propriété spécifiée d’un objet est définie. | Object | |
![]() |
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre. | Object | |
![]() |
Indique si la propriété spécifiée existe et est énumérable. | Object | |
![]() |
Supprime un écouteur de l’objet 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 | ||
![]() |
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle. | 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 | ||
![]() |
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur. | Object | |
![]() |
Renvoie la représentation sous forme de chaîne de l’objet spécifié. | 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 | ||
![]() |
Renvoie la valeur primitive de l’objet spécifié. | Object | |
![]() |
Vérifie si un écouteur d’événement est enregistré auprès de cet objet EventDispatcher ou de ses ancêtres pour le type d’événement spécifié. | EventDispatcher | |
| Evénement | Synthèse | Défini par | ||
|---|---|---|---|---|
![]() | [Evénement de diffusion] Distribué lorsque l’application Flash Player obtient le focus du système d’exploitation et devient active. | EventDispatcher | ||
![]() | [Evénement de diffusion] Distribué lorsque l’application Flash Player ou AIR perd le focus du système d’exploitation et devient inactive. | 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 | propriété |
currentPage:Page| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
[bindable] The currently selected panel.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get currentPage():Page public function set currentPage(value:Page):voidcurrentPageIndex | propriété |
currentPageIndex:int| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
The index of the current page
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get currentPageIndex():int public function set currentPageIndex(value:int):voidfirstPage | propriété |
firstPage:Page [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Returns the first panel.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get firstPage():PagegaModel | propriété |
gaModel:GuidedActivity| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Returns the guided activity model
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get gaModel():GuidedActivity public function set gaModel(value:GuidedActivity):voidinstance | propriété |
instance:PanelManager| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Returns a single instance of the PanelManager class.
Implémentation
public static function get instance():PanelManager public static function set instance(value:PanelManager):voidlastPage | propriété |
lastPage:Page [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Returns the last panel.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get lastPage():PagenextPage | propriété |
nextPage:Page [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the next panel, or null if none exists.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get nextPage():Pagepages | propriété |
previousPage | propriété |
previousPage:Page [lecture seule] | Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the previous panel, or null if none exists.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get previousPage():PageselectedItem | propriété |
selectedItem:Object| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the current panel.
Cette propriété peut être utilisée comme source de la liaison de données. Lorsque cette propriété est modifiée, elle distribue l’événement propertyChange .
Implémentation
public function get selectedItem():Object public function set selectedItem(value:Object):voidsubmitRequestTimestamp | propriété |
addPage | () | méthode |
public function addPage():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method adds a new panel after the current panel.
Valeur renvoyéeBoolean — Boolean true if the page was added.
|
addSection | () | méthode |
public function addSection():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method adds a new section after the current section.
Valeur renvoyéeBoolean — Boolean true if the section was added.
|
canGoForward | () | méthode |
public function canGoForward():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change the panel due to validation.
Valeur renvoyéeBoolean — Boolean whether or not the user is allowed to page forward.
|
copyPage | () | méthode |
public function copyPage():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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.
Valeur renvoyéeBoolean — Boolean whether or not the page was copied.
|
copySection | () | méthode |
public function copySection():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method copies a new section after the current section.
Valeur renvoyéeBoolean — Boolean whether or not the section was copied.
|
goNextPage | () | méthode |
public function goNextPage():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Sets the next panel as the current panel.
goPreviousPage | () | méthode |
public function goPreviousPage():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Sets the previous panel as the current panel.
removePage | () | méthode |
public function removePage():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
If the panel is repeatable, this method removes the current panel.
Valeur renvoyéeBoolean — Boolean whether or not the page was removed.
|
removeSection | () | méthode |
public function removeSection():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method removes the current section.
Valeur renvoyéeBoolean — Boolean whether or not the section was removed.
|
submit | () | méthode |
public function submit():void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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 | () | méthode |
public function submitToUrl(xmlData:String, targetUrl:String, requireValidation:Boolean = false, window:String = "_self"):void| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | AIR 1.0, Flash Player 10.2 |
Send the panel data to the specified URL. The results display in a new window.
Paramètres
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 | () | méthode |
public function validate():Boolean| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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.
Valeur renvoyéeBoolean — Boolean true if validation was successful.
|
Eléments de l’API associés
validateNavigation | () | méthode |
public function validateNavigation(requestedPage:Page):Page| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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.
Paramètres
requestedPage:Page — validations are run against all pages preceeding the requestedPage.
|
Page — either a panel with validation errors or the requested page.
|
errorStringChanged | Evénement |
ga.model.GAEventpropriété GAEvent.type =
ga.model.GAEvent.ERROR_STRING_CHANGED| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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 | Evénement |
ga.model.GAEventpropriété GAEvent.type =
ga.model.GAEvent.INITIALIZED| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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 | Evénement |
ga.model.GAEventpropriété GAEvent.type =
ga.model.GAEvent.PAGE_ADD| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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 | Evénement |
ga.model.GAEventpropriété GAEvent.type =
ga.model.GAEvent.PAGE_REMOVE| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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 | Evénement |
ga.model.GAEventpropriété GAEvent.type =
ga.model.GAEvent.PAGE_SELECTION_CHANGE| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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 | Evénement |
ga.model.GAEventpropriété GAEvent.type =
ga.model.GAEvent.SECTION_ADD| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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 | Evénement |
ga.model.GAEventpropriété GAEvent.type =
ga.model.GAEvent.SECTION_REMOVE| Version du langage: | ActionScript 3.0 |
| Version du produit: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| Versions du moteur d’exécution: | 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, 09:30 AM Z
Masquer les propriétés publiques héritées
Afficher les propriétés publiques héritées