패키지 | 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):void
currentPageIndex | 속성 |
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):void
firstPage | 속성 |
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):void
instance | 속성 |
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):void
lastPage | 속성 |
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():Page
pages | 속성 |
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():Page
selectedItem | 속성 |
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):void
submitRequestTimestamp | 속성 |
addPage | () | 메서드 |
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 | () | 메서드 |
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, 03:17 PM Z