Pacchetto | ga.model |
Classe | public class PanelManager |
Ereditarietà | PanelManager EventDispatcher Object |
Implementa | IHistoryManagerClient |
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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.
Proprietà | Definito da | ||
---|---|---|---|
constructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto. | Object | ||
currentPage : Page
[bindable] The currently selected panel. | PanelManager | ||
currentPageIndex : int
The index of the current page
| PanelManager | ||
firstPage : Page [sola lettura]
Returns the first panel. | PanelManager | ||
gaModel : GuidedActivity
Returns the guided activity model
| PanelManager | ||
instance : PanelManager [statico]
Returns a single instance of the PanelManager class. | PanelManager | ||
lastPage : Page [sola lettura]
Returns the last panel. | PanelManager | ||
nextPage : Page [sola lettura]
[bindable] Returns the next panel, or null if none exists. | PanelManager | ||
pages : Array [sola lettura]
Returns the visible panels. | PanelManager | ||
previousPage : Page [sola lettura]
[bindable] Returns the previous panel, or null if none exists. | PanelManager | ||
selectedItem : Object
[bindable] Returns the current panel. | PanelManager | ||
submitRequestTimestamp : Date | PanelManager |
Metodo | Definito da | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento. | 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 | ||
Invia un evento nel flusso di eventi. | EventDispatcher | ||
Sets the next panel as the current panel. | PanelManager | ||
Sets the previous panel as the current panel. | PanelManager | ||
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | EventDispatcher | ||
Indica se per un oggetto è definita una proprietà specifica. | Object | ||
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro. | Object | ||
Indica se la proprietà specificata esiste ed è enumerabile. | Object | ||
Rimuove un listener dall'oggetto 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 | ||
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche. | 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 | ||
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate. | Object | ||
Restituisce la rappresentazione in formato stringa dell'oggetto specificato. | 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 | ||
Restituisce il valore di base dell'oggetto specificato. | Object | ||
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | EventDispatcher |
Evento | Riepilogo | Definito da | ||
---|---|---|---|---|
[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR ottiene lo stato di attivazione del sistema operativo ed entra nello stato attivo. | EventDispatcher | |||
[evento di trasmissione] Inviato quando Flash Player o l'applicazione AIR perde l'attivazione del sistema operativo e sta entrando nello stato inattivo. | 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 | proprietà |
currentPage:Page
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
[bindable] The currently selected panel.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get currentPage():Page
public function set currentPage(value:Page):void
currentPageIndex | proprietà |
currentPageIndex:int
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
The index of the current page
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get currentPageIndex():int
public function set currentPageIndex(value:int):void
firstPage | proprietà |
firstPage:Page
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Returns the first panel.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get firstPage():Page
gaModel | proprietà |
gaModel:GuidedActivity
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Returns the guided activity model
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get gaModel():GuidedActivity
public function set gaModel(value:GuidedActivity):void
instance | proprietà |
instance:PanelManager
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Returns a single instance of the PanelManager
class.
Implementazione
public static function get instance():PanelManager
public static function set instance(value:PanelManager):void
lastPage | proprietà |
lastPage:Page
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Returns the last panel.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get lastPage():Page
nextPage | proprietà |
nextPage:Page
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the next panel, or null if none exists.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get nextPage():Page
pages | proprietà |
previousPage | proprietà |
previousPage:Page
[sola lettura] Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the previous panel, or null if none exists.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get previousPage():Page
selectedItem | proprietà |
selectedItem:Object
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the current panel.
Questa proprietà può essere utilizzata come origine per l’associazione di dati. Quando questa proprietà viene modificata, invia l’evento propertyChange
.
Implementazione
public function get selectedItem():Object
public function set selectedItem(value:Object):void
submitRequestTimestamp | proprietà |
addPage | () | metodo |
public function addPage():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method adds a new panel after the current panel.
RestituisceBoolean — Boolean true if the page was added.
|
addSection | () | metodo |
public function addSection():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method adds a new section after the current section.
RestituisceBoolean — Boolean true if the section was added.
|
canGoForward | () | metodo |
public function canGoForward():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change the panel due to validation.
RestituisceBoolean — Boolean whether or not the user is allowed to page forward.
|
copyPage | () | metodo |
public function copyPage():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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.
RestituisceBoolean — Boolean whether or not the page was copied.
|
copySection | () | metodo |
public function copySection():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method copies a new section after the current section.
RestituisceBoolean — Boolean whether or not the section was copied.
|
goNextPage | () | metodo |
public function goNextPage():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Sets the next panel as the current panel.
goPreviousPage | () | metodo |
public function goPreviousPage():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Sets the previous panel as the current panel.
removePage | () | metodo |
public function removePage():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
If the panel is repeatable, this method removes the current panel.
RestituisceBoolean — Boolean whether or not the page was removed.
|
removeSection | () | metodo |
public function removeSection():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method removes the current section.
RestituisceBoolean — Boolean whether or not the section was removed.
|
submit | () | metodo |
public function submit():void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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 | () | metodo |
public function submitToUrl(xmlData:String, targetUrl:String, requireValidation:Boolean = false, window:String = "_self"):void
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | AIR 1.0, Flash Player 10.2 |
Send the panel data to the specified URL. The results display in a new window.
Parametri
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 | () | metodo |
public function validate():Boolean
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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.
RestituisceBoolean — Boolean true if validation was successful.
|
Elementi API correlati
validateNavigation | () | metodo |
public function validateNavigation(requestedPage:Page):Page
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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.
Parametri
requestedPage:Page — validations are run against all pages preceeding the requestedPage.
|
Page — either a panel with validation errors or the requested page.
|
errorStringChanged | Evento |
ga.model.GAEvent
proprietà GAEvent.type =
ga.model.GAEvent.ERROR_STRING_CHANGED
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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 | Evento |
ga.model.GAEvent
proprietà GAEvent.type =
ga.model.GAEvent.INITIALIZED
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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 | Evento |
ga.model.GAEvent
proprietà GAEvent.type =
ga.model.GAEvent.PAGE_ADD
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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 | Evento |
ga.model.GAEvent
proprietà GAEvent.type =
ga.model.GAEvent.PAGE_REMOVE
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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 | Evento |
ga.model.GAEvent
proprietà GAEvent.type =
ga.model.GAEvent.PAGE_SELECTION_CHANGE
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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 | Evento |
ga.model.GAEvent
proprietà GAEvent.type =
ga.model.GAEvent.SECTION_ADD
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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 | Evento |
ga.model.GAEvent
proprietà GAEvent.type =
ga.model.GAEvent.SECTION_REMOVE
Versione linguaggio: | ActionScript 3.0 |
Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Guide 9 |
Versioni runtime: | 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, 02:44 PM Z