Paket | ga.model |
Klasse | public class PanelManager |
Vererbung | PanelManager EventDispatcher Object |
Implementiert | IHistoryManagerClient |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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.
Eigenschaft | Definiert von | ||
---|---|---|---|
constructor : Object
Ein Verweis auf das Klassenobjekt oder die Konstruktorfunktion für eine angegebene Objektinstanz. | Object | ||
currentPage : Page
[bindable] The currently selected panel. | PanelManager | ||
currentPageIndex : int
The index of the current page
| PanelManager | ||
firstPage : Page [schreibgeschützt]
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 [schreibgeschützt]
Returns the last panel. | PanelManager | ||
nextPage : Page [schreibgeschützt]
[bindable] Returns the next panel, or null if none exists. | PanelManager | ||
pages : Array [schreibgeschützt]
Returns the visible panels. | PanelManager | ||
previousPage : Page [schreibgeschützt]
[bindable] Returns the previous panel, or null if none exists. | PanelManager | ||
selectedItem : Object
[bindable] Returns the current panel. | PanelManager | ||
submitRequestTimestamp : Date | PanelManager |
Methode | Definiert von | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registriert ein Ereignis-Listener-Objekt bei einem EventDispatcher-Objekt, sodass der Listener über ein Ereignis benachrichtigt wird. | 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 | ||
Sendet ein Ereignis in den Ereignisablauf. | EventDispatcher | ||
Sets the next panel as the current panel. | PanelManager | ||
Sets the previous panel as the current panel. | PanelManager | ||
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat. | EventDispatcher | ||
Gibt an, ob für ein Objekt eine bestimmte Eigenschaft definiert wurde. | Object | ||
Gibt an, ob eine Instanz der Object-Klasse in der Prototypkette des Objekts vorhanden ist, das als Parameter angegeben wurde. | Object | ||
Gibt an, ob die angegebene Eigenschaft vorhanden ist und durchlaufen werden kann. | Object | ||
Entfernt einen Listener aus dem EventDispatcher-Objekt. | 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 | ||
Legt die Verfügbarkeit einer dynamischen Eigenschaft für Schleifenoperationen fest. | 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 | ||
Gibt die Stringdarstellung dieses Objekts zurück, formatiert entsprechend den Konventionen des Gebietsschemas. | Object | ||
Gibt das angegebene Objekt als String zurück. | 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 | ||
Gibt den Grundwert des angegebenen Objekts zurück. | Object | ||
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist. | EventDispatcher |
Ereignis | Übersicht | Definiert von | ||
---|---|---|---|---|
[broadcast event] Wird ausgelöst, wenn Flash Player oder eine AIR-Anwendung den Betriebssystemfokus erhält und aktiv wird. | EventDispatcher | |||
[broadcast event] Wird ausgelöst, wenn Flash Player- oder die AIR-Anwendung den Fokus verliert und inaktiv wird. | 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 | Eigenschaft |
currentPage:Page
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
[bindable] The currently selected panel.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get currentPage():Page
public function set currentPage(value:Page):void
currentPageIndex | Eigenschaft |
currentPageIndex:int
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
The index of the current page
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get currentPageIndex():int
public function set currentPageIndex(value:int):void
firstPage | Eigenschaft |
firstPage:Page
[schreibgeschützt] Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Returns the first panel.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get firstPage():Page
gaModel | Eigenschaft |
gaModel:GuidedActivity
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Returns the guided activity model
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get gaModel():GuidedActivity
public function set gaModel(value:GuidedActivity):void
instance | Eigenschaft |
instance:PanelManager
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Returns a single instance of the PanelManager
class.
Implementierung
public static function get instance():PanelManager
public static function set instance(value:PanelManager):void
lastPage | Eigenschaft |
lastPage:Page
[schreibgeschützt] Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Returns the last panel.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get lastPage():Page
nextPage | Eigenschaft |
nextPage:Page
[schreibgeschützt] Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the next panel, or null if none exists.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get nextPage():Page
pages | Eigenschaft |
previousPage | Eigenschaft |
previousPage:Page
[schreibgeschützt] Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the previous panel, or null if none exists.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get previousPage():Page
selectedItem | Eigenschaft |
selectedItem:Object
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the current panel.
Diese Eigenschaft kann als Quelle für die Datenbindung verwendet werden. Beim Ändern dieser Eigenschaft wird das propertyChange
-Ereignis ausgelöst.
Implementierung
public function get selectedItem():Object
public function set selectedItem(value:Object):void
submitRequestTimestamp | Eigenschaft |
addPage | () | Methode |
public function addPage():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method adds a new panel after the current panel.
RückgabewerteBoolean — Boolean true if the page was added.
|
addSection | () | Methode |
public function addSection():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method adds a new section after the current section.
RückgabewerteBoolean — Boolean true if the section was added.
|
canGoForward | () | Methode |
public function canGoForward():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change the panel due to validation.
RückgabewerteBoolean — Boolean whether or not the user is allowed to page forward.
|
copyPage | () | Methode |
public function copyPage():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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.
RückgabewerteBoolean — Boolean whether or not the page was copied.
|
copySection | () | Methode |
public function copySection():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method copies a new section after the current section.
RückgabewerteBoolean — Boolean whether or not the section was copied.
|
goNextPage | () | Methode |
public function goNextPage():void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Sets the next panel as the current panel.
goPreviousPage | () | Methode |
public function goPreviousPage():void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Sets the previous panel as the current panel.
removePage | () | Methode |
public function removePage():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
If the panel is repeatable, this method removes the current panel.
RückgabewerteBoolean — Boolean whether or not the page was removed.
|
removeSection | () | Methode |
public function removeSection():Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method removes the current section.
RückgabewerteBoolean — Boolean whether or not the section was removed.
|
submit | () | Methode |
public function submit():void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | AIR 1.0, Flash Player 10.2 |
Send the panel data to the specified URL. The results display in a new window.
Parameter
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
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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.
RückgabewerteBoolean — Boolean true if validation was successful.
|
Verwandte API-Elemente
validateNavigation | () | Methode |
public function validateNavigation(requestedPage:Page):Page
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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.
Parameter
requestedPage:Page — validations are run against all pages preceeding the requestedPage.
|
Page — either a panel with validation errors or the requested page.
|
errorStringChanged | Ereignis |
ga.model.GAEvent
Eigenschaft GAEvent.type =
ga.model.GAEvent.ERROR_STRING_CHANGED
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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 | Ereignis |
ga.model.GAEvent
Eigenschaft GAEvent.type =
ga.model.GAEvent.INITIALIZED
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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 | Ereignis |
ga.model.GAEvent
Eigenschaft GAEvent.type =
ga.model.GAEvent.PAGE_ADD
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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 | Ereignis |
ga.model.GAEvent
Eigenschaft GAEvent.type =
ga.model.GAEvent.PAGE_REMOVE
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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 | Ereignis |
ga.model.GAEvent
Eigenschaft GAEvent.type =
ga.model.GAEvent.PAGE_SELECTION_CHANGE
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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 | Ereignis |
ga.model.GAEvent
Eigenschaft GAEvent.type =
ga.model.GAEvent.SECTION_ADD
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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 | Ereignis |
ga.model.GAEvent
Eigenschaft GAEvent.type =
ga.model.GAEvent.SECTION_REMOVE
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Handbücher 9 |
Laufzeitversionen: | 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, 10:04 AM Z