ActionScript® 3.0 Referenzhandbuch für die Adobe® Flash®-Plattform
Home  |  Liste der Pakete und Klassen ausblenden |  Pakete  |  Klassen  |  Neue Funktionen  |  Stichwortverzeichnis  |  Anhänge  |  Warum auf Englisch?
Filter: Daten werden vom Server abgerufen...
Daten werden vom Server abgerufen...
ga.model 

PanelManager  - AS3 ADEp-Handbücher

Paketga.model
Klassepublic class PanelManager
VererbungPanelManager Inheritance EventDispatcher Inheritance 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

The 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.



Öffentliche Eigenschaften
 EigenschaftDefiniert von
 Inheritedconstructor : 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
Öffentliche Methoden
 MethodeDefiniert von
 Inherited
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
 Inherited
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
 Inherited
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat.
EventDispatcher
 Inherited
Gibt an, ob für ein Objekt eine bestimmte Eigenschaft definiert wurde.
Object
 Inherited
Gibt an, ob eine Instanz der Object-Klasse in der Prototypkette des Objekts vorhanden ist, das als Parameter angegeben wurde.
Object
 Inherited
Gibt an, ob die angegebene Eigenschaft vorhanden ist und durchlaufen werden kann.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
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
 Inherited
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
 Inherited
Gibt die Stringdarstellung dieses Objekts zurück, formatiert entsprechend den Konventionen des Gebietsschemas.
Object
 Inherited
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
 Inherited
Gibt den Grundwert des angegebenen Objekts zurück.
Object
 Inherited
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist.
EventDispatcher
Ereignisse
 Ereignis Übersicht Definiert von
 Inherited[broadcast event] Wird ausgelöst, wenn Flash Player oder eine AIR-Anwendung den Betriebssystemfokus erhält und aktiv wird.EventDispatcher
 Inherited[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
Eigenschaftendetails

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 
pages:Array  [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 visible panels.



Implementierung
    public function get pages():Array

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 
submitRequestTimestamp:Date



Implementierung
    public function get submitRequestTimestamp():Date
    public function set submitRequestTimestamp(value:Date):void
Methodendetails

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ückgabewerte
Boolean — 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ückgabewerte
Boolean — 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ückgabewerte
Boolean — 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ückgabewerte
Boolean — 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ückgabewerte
Boolean — 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ückgabewerte
Boolean — 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ückgabewerte
Boolean — 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ückgabewerte
Boolean — 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.

Rückgabewerte
Page — either a panel with validation errors or the requested page.
Ereignisdetails

errorStringChanged

Ereignis
Ereignisobjekttyp: 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:

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.

initialized

Ereignis  
Ereignisobjekttyp: 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:

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.

pageAdd

Ereignis  
Ereignisobjekttyp: 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:

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

Ereignis  
Ereignisobjekttyp: 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:

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

Ereignis  
Ereignisobjekttyp: 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:

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.

sectionAdd

Ereignis  
Ereignisobjekttyp: 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:

PropertyValue
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.

sectionRemove

Ereignis  
Ereignisobjekttyp: 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:

PropertyValue
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.




[ X ]Warum auf Englisch?
Inhalt des ActionScript 3.0-Referenzhandbuchs wird in englischer Sprache angezeigt

Nicht alle Teile des ActionScript 3.0-Referenzhandbuchs wurden in alle Sprachen übersetzt. Wenn der Text zu einem Sprachelement nicht übersetzt wurde, wird er auf Englisch angezeigt. Zum Beispiel wurden die Informationen zur ga.controls.HelpBox-Klasse nicht in andere Sprachen übersetzt. In der deutschen Version des Referenzhandbuchs erscheint der Abschnitt zur ga.controls.HelpBox-Klasse deshalb auf Englisch.