Pakket | ga.model |
Klasse | public class PanelManager |
Overerving | PanelManager EventDispatcher Object |
Implementatie | IHistoryManagerClient |
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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.
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
currentPage : Page
[bindable] The currently selected panel. | PanelManager | ||
currentPageIndex : int
The index of the current page
| PanelManager | ||
firstPage : Page [alleen-lezen]
Returns the first panel. | PanelManager | ||
gaModel : GuidedActivity
Returns the guided activity model
| PanelManager | ||
instance : PanelManager [statisch]
Returns a single instance of the PanelManager class. | PanelManager | ||
lastPage : Page [alleen-lezen]
Returns the last panel. | PanelManager | ||
nextPage : Page [alleen-lezen]
[bindable] Returns the next panel, or null if none exists. | PanelManager | ||
pages : Array [alleen-lezen]
Returns the visible panels. | PanelManager | ||
previousPage : Page [alleen-lezen]
[bindable] Returns the previous panel, or null if none exists. | PanelManager | ||
selectedItem : Object
[bindable] Returns the current panel. | PanelManager | ||
submitRequestTimestamp : Date | PanelManager |
Methode | Gedefinieerd door | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | 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 | ||
Verzendt een gebeurtenis naar de gebeurtenisstroom. | EventDispatcher | ||
Sets the next panel as the current panel. | PanelManager | ||
Sets the previous panel as the current panel. | PanelManager | ||
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | EventDispatcher | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Verwijdert een listener uit het 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 | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | 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 | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven 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 | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | EventDispatcher |
Gebeurtenis | Overzicht | Gedefinieerd door | ||
---|---|---|---|---|
[uitgezonden gebeurtenis] Wordt verzonden wanneer Flash Player of de AIR-toepassing de besturingssysteemfocus krijgt en actief wordt. | EventDispatcher | |||
[uitgezonden gebeurtenis] Wordt verzonden wanneer Flash Player of de AIR-toepassing de systeemfocus verliest en inactief wordt. | 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 | eigenschap |
currentPage:Page
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
[bindable] The currently selected panel.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get currentPage():Page
public function set currentPage(value:Page):void
currentPageIndex | eigenschap |
currentPageIndex:int
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
The index of the current page
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get currentPageIndex():int
public function set currentPageIndex(value:int):void
firstPage | eigenschap |
firstPage:Page
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Returns the first panel.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get firstPage():Page
gaModel | eigenschap |
gaModel:GuidedActivity
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Returns the guided activity model
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get gaModel():GuidedActivity
public function set gaModel(value:GuidedActivity):void
instance | eigenschap |
instance:PanelManager
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Returns a single instance of the PanelManager
class.
Implementatie
public static function get instance():PanelManager
public static function set instance(value:PanelManager):void
lastPage | eigenschap |
lastPage:Page
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Returns the last panel.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get lastPage():Page
nextPage | eigenschap |
nextPage:Page
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the next panel, or null if none exists.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get nextPage():Page
pages | eigenschap |
previousPage | eigenschap |
previousPage:Page
[alleen-lezen] Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the previous panel, or null if none exists.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get previousPage():Page
selectedItem | eigenschap |
selectedItem:Object
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the current panel.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange
verzonden.
Implementatie
public function get selectedItem():Object
public function set selectedItem(value:Object):void
submitRequestTimestamp | eigenschap |
addPage | () | methode |
public function addPage():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method adds a new panel after the current panel.
Geretourneerde waardeBoolean — Boolean true if the page was added.
|
addSection | () | methode |
public function addSection():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method adds a new section after the current section.
Geretourneerde waardeBoolean — Boolean true if the section was added.
|
canGoForward | () | methode |
public function canGoForward():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change the panel due to validation.
Geretourneerde waardeBoolean — Boolean whether or not the user is allowed to page forward.
|
copyPage | () | methode |
public function copyPage():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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.
Geretourneerde waardeBoolean — Boolean whether or not the page was copied.
|
copySection | () | methode |
public function copySection():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method copies a new section after the current section.
Geretourneerde waardeBoolean — Boolean whether or not the section was copied.
|
goNextPage | () | methode |
public function goNextPage():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Sets the next panel as the current panel.
goPreviousPage | () | methode |
public function goPreviousPage():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Sets the previous panel as the current panel.
removePage | () | methode |
public function removePage():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
If the panel is repeatable, this method removes the current panel.
Geretourneerde waardeBoolean — Boolean whether or not the page was removed.
|
removeSection | () | methode |
public function removeSection():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method removes the current section.
Geretourneerde waardeBoolean — Boolean whether or not the section was removed.
|
submit | () | methode |
public function submit():void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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 | () | methode |
public function submitToUrl(xmlData:String, targetUrl:String, requireValidation:Boolean = false, window:String = "_self"):void
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | AIR 1.0, Flash Player 10.2 |
Send the panel data to the specified URL. The results display in a new window.
Parameters
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 | () | methode |
public function validate():Boolean
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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.
Geretourneerde waardeBoolean — Boolean true if validation was successful.
|
Verwante API-elementen
validateNavigation | () | methode |
public function validateNavigation(requestedPage:Page):Page
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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.
Parameters
requestedPage:Page — validations are run against all pages preceeding the requestedPage.
|
Page — either a panel with validation errors or the requested page.
|
errorStringChanged | Gebeurtenis |
ga.model.GAEvent
eigenschap GAEvent.type =
ga.model.GAEvent.ERROR_STRING_CHANGED
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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 | Gebeurtenis |
ga.model.GAEvent
eigenschap GAEvent.type =
ga.model.GAEvent.INITIALIZED
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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 | Gebeurtenis |
ga.model.GAEvent
eigenschap GAEvent.type =
ga.model.GAEvent.PAGE_ADD
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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 | Gebeurtenis |
ga.model.GAEvent
eigenschap GAEvent.type =
ga.model.GAEvent.PAGE_REMOVE
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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 | Gebeurtenis |
ga.model.GAEvent
eigenschap GAEvent.type =
ga.model.GAEvent.PAGE_SELECTION_CHANGE
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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 | Gebeurtenis |
ga.model.GAEvent
eigenschap GAEvent.type =
ga.model.GAEvent.SECTION_ADD
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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 | Gebeurtenis |
ga.model.GAEvent
eigenschap GAEvent.type =
ga.model.GAEvent.SECTION_REMOVE
Taalversie: | ActionScript 3.0 |
Productversie: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Runtimeversies: | 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. |
Wed Jun 13 2018, 11:42 AM Z