| Package | potomac.ui |
| Class | public class TemplateEvent |
| Inheritance | TemplateEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| descriptor : PageDescriptor [read-only]
The page's descriptor. | TemplateEvent | ||
| input : PageInput [read-only]
The page's input. | TemplateEvent | ||
| options : PageOptions [read-only]
The page options. | TemplateEvent | ||
| page : Page [read-only]
The page to show or close. | TemplateEvent | ||
| parameters : Object [read-only]
The parameters associated with this template, as specified in the application's appManifest.xml. | TemplateEvent | ||
| setFocus : Boolean [read-only]
True if the page should be made visible and focused. | TemplateEvent | ||
| Method | Defined By | ||
|---|---|---|---|
TemplateEvent(type:String, parameters:Object, pageDesc:PageDescriptor, pageInput:PageInput, pageOptions:PageOptions, page:Page, setFocus:Boolean)
Callers should not construct TemplateEvent instances. | TemplateEvent | ||
clone():Event [override] | TemplateEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| CLOSE_PAGE : String = templateClosePage [static]
The TemplateEvent.CLOSE_PAGE constant defines the value of the
type property of the event object
for a templateClosePage event. | TemplateEvent | ||
| INITIALIZE : String = templateInitialize [static]
The TemplateEvent.INITIALIZE constant defines the value of the
type property of the event object
for a templateInitialize event. | TemplateEvent | ||
| OPEN_PAGE : String = templateOpenPage [static]
The TemplateEvent.OPEN_PAGE constant defines the value of the
type property of the event object
for a templateOpenPage event. | TemplateEvent | ||
| PAGE_DIRTY_CHANGE : String = templatePageDirtyChange [static]
The TemplateEvent.PAGE_DIRTY_CHANGE constant defines the value of the
type property of the event object
for a templatePageDirtyChange event. | TemplateEvent | ||
| SHOW_PAGE : String = templateShowPage [static]
The TemplateEvent.SHOW_PAGE constant defines the value of the
type property of the event object
for a templateShowPage event. | TemplateEvent | ||
| descriptor | property |
descriptor:PageDescriptor [read-only] The page's descriptor.
public function get descriptor():PageDescriptor| input | property |
| options | property |
options:PageOptions [read-only] The page options.
public function get options():PageOptions| page | property |
| parameters | property |
parameters:Object [read-only] The parameters associated with this template, as specified in the application's appManifest.xml.
public function get parameters():Object| setFocus | property |
setFocus:Boolean [read-only] True if the page should be made visible and focused.
public function get setFocus():Boolean| TemplateEvent | () | Constructor |
public function TemplateEvent(type:String, parameters:Object, pageDesc:PageDescriptor, pageInput:PageInput, pageOptions:PageOptions, page:Page, setFocus:Boolean)Callers should not construct TemplateEvent instances.
Parameterstype:String | |
parameters:Object | |
pageDesc:PageDescriptor | |
pageInput:PageInput | |
pageOptions:PageOptions | |
page:Page | |
setFocus:Boolean |
| clone | () | method |
override public function clone():EventReturnsEvent |
| CLOSE_PAGE | Constant |
public static const CLOSE_PAGE:String = templateClosePage
The TemplateEvent.CLOSE_PAGE constant defines the value of the
type property of the event object
for a templateClosePage event.
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. |
parameters | null |
pageDescriptor | null |
pageInput | null |
pageOptions | null |
page | The page to close. |
setFocus | null |
| INITIALIZE | Constant |
public static const INITIALIZE:String = templateInitialize
The TemplateEvent.INITIALIZE constant defines the value of the
type property of the event object
for a templateInitialize event.
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. |
parameters | A dynamic object containing the parameters specified in the appManifest.xml |
pageDescriptor | null |
pageInput | null |
pageOptions | null |
page | null |
setFocus | null |
| OPEN_PAGE | Constant |
public static const OPEN_PAGE:String = templateOpenPage
The TemplateEvent.OPEN_PAGE constant defines the value of the
type property of the event object
for a templateOpenPage event.
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. |
parameters | null |
pageDescriptor | The page descriptor. |
pageInput | the page's input |
pageOptions | the page options |
page | the page |
setFocus | true if the page should be made visible |
| PAGE_DIRTY_CHANGE | Constant |
public static const PAGE_DIRTY_CHANGE:String = templatePageDirtyChange
The TemplateEvent.PAGE_DIRTY_CHANGE constant defines the value of the
type property of the event object
for a templatePageDirtyChange event.
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. |
parameters | null |
pageDescriptor | null |
pageInput | null |
pageOptions | null |
page | The page whose dirty state changed. |
setFocus | null |
| SHOW_PAGE | Constant |
public static const SHOW_PAGE:String = templateShowPage
The TemplateEvent.SHOW_PAGE constant defines the value of the
type property of the event object
for a templateShowPage event.
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. |
parameters | null |
pageDescriptor | null |
pageInput | null |
pageOptions | null |
page | The page to show. |
setFocus | null |