Packagecom.adobe.portfolio.components
Classpublic class Navigator
InheritanceNavigator Inheritance spark.components.Application
Implements INavigator

The base class for A10 Navigators. New navigators should extend this class rather than Application to handle common initialization procedures.

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  currAttCurrentPageNum : int
[read-only]
Navigator
  currAttFilename : String
[read-only]
Navigator
  currAttFolderName : String
[read-only]
Navigator
  currAttIndex : int
[read-only]
Navigator
  currAttIsFolder : Boolean
[read-only]
Navigator
  currAttMIMEType : String
[read-only]
Navigator
  currAttNumPages : int
[read-only]
Navigator
  defaultFocusItem : IFocusManagerComponent
[read-only] A component that's suitable for receiving focus by default.
Navigator
  host : INavigatorHost
[write-only] Initializes and later shuts down an INavigator instance.
Navigator
  portFolderFileListing : String
[read-only]
Navigator
  portFolderNumFiles : int
[read-only]
Navigator
  portFolderNumSubfolders : int
[read-only]
Navigator
  portFolderSubfolderListing : String
[read-only]
Navigator
  portLayoutName : String
[read-only]
Navigator
  propertiesFactory : ClassFactory
[read-only] Returns a factory that can be used to create a CommonProperties instance for this navigator.
Navigator
  useApplicationFontOnly : Boolean
Navigator
Protected Properties
 PropertyDefined By
  commonProperties : CommonProperties
An object for loading and accessing customizable properties for this navigator.
Navigator
  includeTestControls : Boolean
[read-only]
Navigator
  initializedHost : Boolean = false
Navigator
  pendingHost : INavigatorHost = null
Navigator
  propertiesDidInit : Boolean
A boolean indicating whether the navigator properties have been initialized.
Navigator
  resourceLoadingDidInit : Boolean
A boolean indicating whether the navigator resources have been initialized.
Navigator
  rootItemsDidInit : Boolean
A boolean indicating whether the rootItems of the CollectionManager have been initialized.
Navigator
Public Methods
 MethodDefined By
  
Navigator
Protected Methods
 MethodDefined By
  
A function to initialize commonProperties.
Navigator
  
initHost():void
A setup function to initialize host specific data
Navigator
  
onKeyDown(event:KeyboardEvent):void
Default handling of keyboard events for a navigator.
Navigator
  
Default handling of right-click events for a navigator.
Navigator
  
setupState():void
Sets the current state of the navigator based on the state of initialization.
Navigator
  
Navigator
Public Constants
 ConstantDefined By
  FOCUS_DURATION : Number = 1000
[static]
Navigator
Protected Constants
 ConstantDefined By
  collectionManager : CollectionManager
The navigator's CollectionManager instance.
Navigator
  runningOnMacintosh : Boolean
Navigator
  STATE_EMPTY : String = empty
Navigator
  STATE_LOADING : String = loading
Navigator
  STATE_NORMAL : String = normal
Navigator
Property Detail
commonPropertiesproperty
protected var commonProperties:CommonProperties

An object for loading and accessing customizable properties for this navigator.

currAttCurrentPageNumproperty 
currAttCurrentPageNum:int  [read-only]


Implementation
    public function get currAttCurrentPageNum():int
currAttFilenameproperty 
currAttFilename:String  [read-only]


Implementation
    public function get currAttFilename():String
currAttFolderNameproperty 
currAttFolderName:String  [read-only]


Implementation
    public function get currAttFolderName():String
currAttIndexproperty 
currAttIndex:int  [read-only]


Implementation
    public function get currAttIndex():int
currAttIsFolderproperty 
currAttIsFolder:Boolean  [read-only]


Implementation
    public function get currAttIsFolder():Boolean
currAttMIMETypeproperty 
currAttMIMEType:String  [read-only]


Implementation
    public function get currAttMIMEType():String
currAttNumPagesproperty 
currAttNumPages:int  [read-only]


Implementation
    public function get currAttNumPages():int
defaultFocusItemproperty 
defaultFocusItem:IFocusManagerComponent  [read-only]

A component that's suitable for receiving focus by default. Navigators can override this getter to provide an appropriate default.


Implementation
    public function get defaultFocusItem():IFocusManagerComponent
hostproperty 
host:INavigatorHost  [write-only]

Product Version :  Acrobat ActionScript API 9.0

Initializes and later shuts down an INavigator instance.

Called early with a non-null host instance, at which point the PDF portfolio navigator can initialize itself and add event listeners. This is likely to occur shortly after construction and may occur before any children have been added (in the case of MXML components).

When the host shuts down, the PDF portfolio navigator calls this method once again with a value of null. At this point the INavigator instance is expected to shut itself down.


Implementation
    public function set host(value:INavigatorHost):void
includeTestControlsproperty 
includeTestControls:Boolean  [read-only]


Implementation
    protected function get includeTestControls():Boolean
initializedHostproperty 
protected var initializedHost:Boolean = false

pendingHostproperty 
protected var pendingHost:INavigatorHost = null

portFolderFileListingproperty 
portFolderFileListing:String  [read-only]


Implementation
    public function get portFolderFileListing():String
portFolderNumFilesproperty 
portFolderNumFiles:int  [read-only]


Implementation
    public function get portFolderNumFiles():int
portFolderNumSubfoldersproperty 
portFolderNumSubfolders:int  [read-only]


Implementation
    public function get portFolderNumSubfolders():int
portFolderSubfolderListingproperty 
portFolderSubfolderListing:String  [read-only]


Implementation
    public function get portFolderSubfolderListing():String
portLayoutNameproperty 
portLayoutName:String  [read-only]


Implementation
    public function get portLayoutName():String
propertiesDidInitproperty 
propertiesDidInit:Boolean

A boolean indicating whether the navigator properties have been initialized.


Implementation
    protected function get propertiesDidInit():Boolean
    protected function set propertiesDidInit(value:Boolean):void
propertiesFactoryproperty 
propertiesFactory:ClassFactory  [read-only]

Returns a factory that can be used to create a CommonProperties instance for this navigator.


Implementation
    public function get propertiesFactory():ClassFactory
resourceLoadingDidInitproperty 
resourceLoadingDidInit:Boolean

A boolean indicating whether the navigator resources have been initialized.


Implementation
    protected function get resourceLoadingDidInit():Boolean
    protected function set resourceLoadingDidInit(value:Boolean):void
rootItemsDidInitproperty 
rootItemsDidInit:Boolean

A boolean indicating whether the rootItems of the CollectionManager have been initialized.


Implementation
    protected function get rootItemsDidInit():Boolean
    protected function set rootItemsDidInit(value:Boolean):void
useApplicationFontOnlyproperty 
useApplicationFontOnly:Boolean


Implementation
    public function get useApplicationFontOnly():Boolean
    public function set useApplicationFontOnly(value:Boolean):void
Constructor Detail
Navigator()Constructor
public function Navigator()



Method Detail
initCommonProperties()method
protected function initCommonProperties():void

A function to initialize commonProperties. Subclasses can override this method to support custom properties.

initHost()method 
protected function initHost():void

A setup function to initialize host specific data

onKeyDown()method 
protected function onKeyDown(event:KeyboardEvent):void

Default handling of keyboard events for a navigator. Components handling their own keyboard events who want to avoid this behavior should call preventDefault to avoid handling the event again.

Parameters

event:KeyboardEvent

onRightClick()method 
protected function onRightClick(event:RightClickEvent):void

Default handling of right-click events for a navigator. Components handling their own events who want to avoid this behavior should call preventDefault to avoid handling the event again.

Parameters

event:RightClickEvent

setupState()method 
protected function setupState():void

Sets the current state of the navigator based on the state of initialization.

showExperienceAlert()method 
protected function showExperienceAlert():void

Constant Detail
collectionManagerConstant
protected const collectionManager:CollectionManager

The navigator's CollectionManager instance. All host interaction should go through this instance, rather than the INavigatorHost directly.

FOCUS_DURATIONConstant 
public static const FOCUS_DURATION:Number = 1000

runningOnMacintoshConstant 
protected const runningOnMacintosh:Boolean

STATE_EMPTYConstant 
protected const STATE_EMPTY:String = empty

STATE_LOADINGConstant 
protected const STATE_LOADING:String = loading

STATE_NORMALConstant 
protected const STATE_NORMAL:String = normal