| パッケージ | ga.model |
| クラス | public class PanelManager |
| 継承 | PanelManager EventDispatcher Object |
| 実装 | IHistoryManagerClient |
| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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.
| プロパティ | 定義元 | ||
|---|---|---|---|
![]() | constructor : Object
指定されたオブジェクトインスタンスのクラスオブジェクトまたはコンストラクター関数への参照です。 | Object | |
| currentPage : Page
[bindable] The currently selected panel. | PanelManager | ||
| currentPageIndex : int
The index of the current page
| PanelManager | ||
| firstPage : Page [読み取り専用]
Returns the first panel. | PanelManager | ||
| gaModel : GuidedActivity
Returns the guided activity model
| PanelManager | ||
| instance : PanelManager [静的]
Returns a single instance of the PanelManager class. | PanelManager | ||
| lastPage : Page [読み取り専用]
Returns the last panel. | PanelManager | ||
| nextPage : Page [読み取り専用]
[bindable] Returns the next panel, or null if none exists. | PanelManager | ||
| pages : Array [読み取り専用]
Returns the visible panels. | PanelManager | ||
| previousPage : Page [読み取り専用]
[bindable] Returns the previous panel, or null if none exists. | PanelManager | ||
| selectedItem : Object
[bindable] Returns the current panel. | PanelManager | ||
| submitRequestTimestamp : Date | PanelManager | ||
| メソッド | 定義元 | ||
|---|---|---|---|
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
イベントリスナーオブジェクトを EventDispatcher オブジェクトに登録し、リスナーがイベントの通知を受け取るようにします。 | 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 | ||
![]() |
イベントをイベントフローに送出します。 | EventDispatcher | |
Sets the next panel as the current panel. | PanelManager | ||
Sets the previous panel as the current panel. | PanelManager | ||
![]() |
EventDispatcher オブジェクトに、特定のイベントタイプに対して登録されたリスナーがあるかどうかを確認します。 | EventDispatcher | |
![]() |
オブジェクトに指定されたプロパティが定義されているかどうかを示します。 | Object | |
![]() |
Object クラスのインスタンスが、パラメーターとして指定されたオブジェクトのプロトタイプチェーン内にあるかどうかを示します。 | Object | |
![]() |
指定されたプロパティが存在し、列挙できるかどうかを示します。 | 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 | ||
![]() |
ループ処理に対するダイナミックプロパティの可用性を設定します。 | 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 | ||
![]() |
ロケール固有の規則に従って書式設定された、このオブジェクトのストリング表現を返します。 | 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 | ||
![]() |
指定されたオブジェクトのプリミティブな値を返します。 | Object | |
![]() |
指定されたイベントタイプについて、この EventDispatcher オブジェクトまたはその祖先にイベントリスナーが登録されているかどうかを確認します。 | EventDispatcher | |
| イベント | 概要 | 定義元 | ||
|---|---|---|---|---|
![]() | [ブロードキャストイベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを取得して、アクティブになったときに送出されます。 | EventDispatcher | ||
![]() | [ブロードキャストイベント] Flash Player または AIR アプリケーションがオペレーティングシステムのフォーカスを失って、非アクティブになったときに送出されます。 | 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 | プロパティ |
currentPage:Page| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
[bindable] The currently selected panel.
このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。
実装
public function get currentPage():Page public function set currentPage(value:Page):voidcurrentPageIndex | プロパティ |
currentPageIndex:int| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
The index of the current page
このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。
実装
public function get currentPageIndex():int public function set currentPageIndex(value:int):voidfirstPage | プロパティ |
gaModel | プロパティ |
gaModel:GuidedActivity| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
Returns the guided activity model
このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。
実装
public function get gaModel():GuidedActivity public function set gaModel(value:GuidedActivity):voidinstance | プロパティ |
instance:PanelManager| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
Returns a single instance of the PanelManager class.
実装
public static function get instance():PanelManager public static function set instance(value:PanelManager):voidlastPage | プロパティ |
nextPage | プロパティ |
nextPage:Page [読み取り専用] | 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the next panel, or null if none exists.
このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。
実装
public function get nextPage():Pagepages | プロパティ |
previousPage | プロパティ |
previousPage:Page [読み取り専用] | 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the previous panel, or null if none exists.
このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。
実装
public function get previousPage():PageselectedItem | プロパティ |
selectedItem:Object| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
[bindable] Returns the current panel.
このプロパティはデータバインディングのソースとして使用できます。 このプロパティを変更すると、 propertyChange イベントが送出されます。
実装
public function get selectedItem():Object public function set selectedItem(value:Object):voidsubmitRequestTimestamp | プロパティ |
addPage | () | メソッド |
public function addPage():Boolean| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
If the panel is allowed to repeat, this method adds a new panel after the current panel.
戻り値Boolean — Boolean true if the page was added.
|
addSection | () | メソッド |
public function addSection():Boolean| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method adds a new section after the current section.
戻り値Boolean — Boolean true if the section was added.
|
canGoForward | () | メソッド |
public function canGoForward():Boolean| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
Returns true if the user is allowed to change the panel due to validation.
戻り値Boolean — Boolean whether or not the user is allowed to page forward.
|
copyPage | () | メソッド |
public function copyPage():Boolean| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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.
戻り値Boolean — Boolean whether or not the page was copied.
|
copySection | () | メソッド |
public function copySection():Boolean| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method copies a new section after the current section.
戻り値Boolean — Boolean whether or not the section was copied.
|
goNextPage | () | メソッド |
public function goNextPage():void| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
Sets the next panel as the current panel.
goPreviousPage | () | メソッド |
public function goPreviousPage():void| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
Sets the previous panel as the current panel.
removePage | () | メソッド |
removeSection | () | メソッド |
public function removeSection():Boolean| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
If the section is repeatable, this method removes the current section.
戻り値Boolean — Boolean whether or not the section was removed.
|
submit | () | メソッド |
public function submit():void| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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 | () | メソッド |
public function submitToUrl(xmlData:String, targetUrl:String, requireValidation:Boolean = false, window:String = "_self"):void| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | AIR 1.0, Flash Player 10.2 |
Send the panel data to the specified URL. The results display in a new window.
パラメーター
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 | () | メソッド |
public function validate():Boolean| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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.
戻り値Boolean — Boolean true if validation was successful.
|
関連する API エレメント
validateNavigation | () | メソッド |
public function validateNavigation(requestedPage:Page):Page| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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.
パラメーター
requestedPage:Page — validations are run against all pages preceeding the requestedPage.
|
Page — either a panel with validation errors or the requested page.
|
errorStringChanged | イベント |
ga.model.GAEventプロパティ GAEvent.type =
ga.model.GAEvent.ERROR_STRING_CHANGED| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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 | イベント |
ga.model.GAEventプロパティ GAEvent.type =
ga.model.GAEvent.INITIALIZED| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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 | イベント |
ga.model.GAEventプロパティ GAEvent.type =
ga.model.GAEvent.PAGE_ADD| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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 | イベント |
ga.model.GAEventプロパティ GAEvent.type =
ga.model.GAEvent.PAGE_REMOVE| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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 | イベント |
ga.model.GAEventプロパティ GAEvent.type =
ga.model.GAEvent.PAGE_SELECTION_CHANGE| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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 | イベント |
ga.model.GAEventプロパティ GAEvent.type =
ga.model.GAEvent.SECTION_ADD| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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 | イベント |
ga.model.GAEventプロパティ GAEvent.type =
ga.model.GAEvent.SECTION_REMOVE| 言語バージョン: | ActionScript 3.0 |
| 製品バージョン: | Adobe Digital Enterprise Platform Document Services - Guides 9 |
| ランタイムバージョン: | 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:34 AM Z
継承されるパブリックプロパティを隠す
継承されるパブリックプロパティを表示