Paquete | ga.model |
Clase | public class PanelManager |
Herencia | PanelManager EventDispatcher Object |
Implementa | IHistoryManagerClient |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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.
Propiedad | Definido por | ||
---|---|---|---|
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
currentPage : Page
[bindable] The currently selected panel. | PanelManager | ||
currentPageIndex : int
The index of the current page
| PanelManager | ||
firstPage : Page [solo lectura]
Returns the first panel. | PanelManager | ||
gaModel : GuidedActivity
Returns the guided activity model
| PanelManager | ||
instance : PanelManager [estática]
Returns a single instance of the PanelManager class. | PanelManager | ||
lastPage : Page [solo lectura]
Returns the last panel. | PanelManager | ||
nextPage : Page [solo lectura]
[bindable] Returns the next panel, or null if none exists. | PanelManager | ||
pages : Array [solo lectura]
Returns the visible panels. | PanelManager | ||
previousPage : Page [solo lectura]
[bindable] Returns the previous panel, or null if none exists. | PanelManager | ||
selectedItem : Object
[bindable] Returns the current panel. | PanelManager | ||
submitRequestTimestamp : Date | PanelManager |
Método | Definido por | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de 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 | ||
Distribuye un evento en el flujo del evento. | EventDispatcher | ||
Sets the next panel as the current panel. | PanelManager | ||
Sets the previous panel as the current panel. | PanelManager | ||
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | EventDispatcher | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Elimina un detector del objeto 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 | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | 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 | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | 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 | ||
Devuelve el valor simple del objeto especificado. | Object | ||
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | EventDispatcher |
Evento | Resumen | Definido por | ||
---|---|---|---|---|
[evento broadcast] Se distribuye cuando Flash Player o AIR pasan a estar activos. | EventDispatcher | |||
[evento broadcast] Se distribuye cuando Flash Player o de AIR pasan a estar inactivos. | 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 | propiedad |
currentPage:Page
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
[bindable] The currently selected panel.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get currentPage():Page
public function set currentPage(value:Page):void
currentPageIndex | propiedad |
currentPageIndex:int
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
The index of the current page
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get currentPageIndex():int
public function set currentPageIndex(value:int):void
firstPage | propiedad |
firstPage:Page
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Returns the first panel.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get firstPage():Page
gaModel | propiedad |
gaModel:GuidedActivity
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Returns the guided activity model
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get gaModel():GuidedActivity
public function set gaModel(value:GuidedActivity):void
instance | propiedad |
instance:PanelManager
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Returns a single instance of the PanelManager
class.
Implementación
public static function get instance():PanelManager
public static function set instance(value:PanelManager):void
lastPage | propiedad |
lastPage:Page
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Returns the last panel.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get lastPage():Page
nextPage | propiedad |
nextPage:Page
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the next panel, or null if none exists.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get nextPage():Page
pages | propiedad |
previousPage | propiedad |
previousPage:Page
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the previous panel, or null if none exists.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get previousPage():Page
selectedItem | propiedad |
selectedItem:Object
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the current panel.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange
.
Implementación
public function get selectedItem():Object
public function set selectedItem(value:Object):void
submitRequestTimestamp | propiedad |
addPage | () | método |
public function addPage():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method adds a new panel after the current panel.
Valor devueltoBoolean — Boolean true if the page was added.
|
addSection | () | método |
public function addSection():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method adds a new section after the current section.
Valor devueltoBoolean — Boolean true if the section was added.
|
canGoForward | () | método |
public function canGoForward():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change the panel due to validation.
Valor devueltoBoolean — Boolean whether or not the user is allowed to page forward.
|
copyPage | () | método |
public function copyPage():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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.
Valor devueltoBoolean — Boolean whether or not the page was copied.
|
copySection | () | método |
public function copySection():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method copies a new section after the current section.
Valor devueltoBoolean — Boolean whether or not the section was copied.
|
goNextPage | () | método |
public function goNextPage():void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Sets the next panel as the current panel.
goPreviousPage | () | método |
public function goPreviousPage():void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Sets the previous panel as the current panel.
removePage | () | método |
public function removePage():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
If the panel is repeatable, this method removes the current panel.
Valor devueltoBoolean — Boolean whether or not the page was removed.
|
removeSection | () | método |
public function removeSection():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method removes the current section.
Valor devueltoBoolean — Boolean whether or not the section was removed.
|
submit | () | método |
public function submit():void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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étodo |
public function submitToUrl(xmlData:String, targetUrl:String, requireValidation:Boolean = false, window:String = "_self"):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | AIR 1.0, Flash Player 10.2 |
Send the panel data to the specified URL. The results display in a new window.
Parámetros
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étodo |
public function validate():Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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.
Valor devueltoBoolean — Boolean true if validation was successful.
|
Elementos de API relacionados
validateNavigation | () | método |
public function validateNavigation(requestedPage:Page):Page
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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.
Parámetros
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
propiedad GAEvent.type =
ga.model.GAEvent.ERROR_STRING_CHANGED
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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
propiedad GAEvent.type =
ga.model.GAEvent.INITIALIZED
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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
propiedad GAEvent.type =
ga.model.GAEvent.PAGE_ADD
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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
propiedad GAEvent.type =
ga.model.GAEvent.PAGE_REMOVE
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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
propiedad GAEvent.type =
ga.model.GAEvent.PAGE_SELECTION_CHANGE
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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
propiedad GAEvent.type =
ga.model.GAEvent.SECTION_ADD
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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
propiedad GAEvent.type =
ga.model.GAEvent.SECTION_REMOVE
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
Versiones de motor de ejecución: | 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:12 PM Z