Packagecom.adobe.portfolio.components
Classpublic class FolderBack
InheritanceFolderBack Inheritance NavSkinnableComponent Inheritance spark.components.supportClasses.SkinnableComponent

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The FolderBack class extends NavSkinnableComponent and shows the current folder and which can be clicked to go to the parent folder. It also supports drag and drop.



Public Properties
 PropertyDefined By
  currentFolderIsRoot : Boolean
FolderBack
  currentFolderName : String
FolderBack
 InheritedskinState : String
The current skin state
NavSkinnableComponent
Protected Properties
 PropertyDefined By
 InheritedautoListen : AutoListen
NavSkinnableComponent
 InheritedautoWatch : AutoWatch
NavSkinnableComponent
Public Methods
 MethodDefined By
  
Constructor
FolderBack
 Inherited
Creates autoListen and autoWatch for automatically tracking listeners and watchers.
NavSkinnableComponent
 Inherited
Uses autoListen and autoWatch to remove all listeners and watchers.
NavSkinnableComponent
 Inherited
setCurrentState(stateName:String, playTransition:Boolean = true):void
[override] Sets the current component state and skin state.
NavSkinnableComponent
  
Changes folder to its parent.
FolderBack
Protected Methods
 MethodDefined By
 Inherited
addListener(listener:IEventDispatcher, type:String, handler:Function, useCapture:Boolean = false, priority:int = 0):void
NavSkinnableComponent
 Inherited
addWatcher(watcher:ChangeWatcher):void
NavSkinnableComponent
 Inherited
detachSkin():void
[override]
NavSkinnableComponent
 Inherited
[override]
NavSkinnableComponent
 Inherited
initStates():void
NavSkinnableComponent
  
keyDownHandler(event:KeyboardEvent):void
[override]
FolderBack
  
onBackButtonClick(event:MouseEvent):void
Listener that responds to a click event on the back button.
FolderBack
  
onDragDrop(event:DragEvent):void
Listener that responds to a drop event on the back button.
FolderBack
  
onDragExit(event:DragEvent):void
Listener that responds to a drag exit or a mouse out event on the back button
FolderBack
  
onDragOver(event:DragEvent):void
Listener that responds to a drag over the back button.
FolderBack
  
Listener that responds to events from the Collection Manager.
FolderBack
  
onTimerComplete(event:TimerEvent):void
Listener that responds to the timer complete event of dragTimer.
FolderBack
  
partAdded(partName:String, instance:Object):void
[override]
FolderBack
  
partRemoved(partName:String, instance:Object):void
[override]
FolderBack
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
  
backButton:spark.components.Button
Required: false Part Type: Static

FolderBack
Public Constants
 ConstantDefined By
  DRAG_DROP_ATTACHMENTS : String = attachments
[static] Format that defines the set of Acrobat drag and drop attachments.
FolderBack
  PART_BACK_BUTTON : String = backButton
[static] String literals used to represent the skin parts exposed by FolderBack to its skins.
FolderBack
 InheritedSTATE_DISABLED : String = disabled
[static]
NavSkinnableComponent
 InheritedSTATE_NORMAL : String = normal
[static]
NavSkinnableComponent
Protected Constants
 ConstantDefined By
  collectionManager : CollectionManager
The navigator's CollectionManager instance.
FolderBack
Property Detail
currentFolderIsRootproperty
currentFolderIsRoot:Boolean

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

This property can be used as the source for data binding.


Implementation
    public function get currentFolderIsRoot():Boolean
    public function set currentFolderIsRoot(value:Boolean):void
currentFolderNameproperty 
currentFolderName:String

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

This property can be used as the source for data binding.


Implementation
    public function get currentFolderName():String
    public function set currentFolderName(value:String):void
Constructor Detail
FolderBack()Constructor
public function FolderBack()

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Constructor

Method Detail
keyDownHandler()method
override protected function keyDownHandler(event:KeyboardEvent):void

Parameters

event:KeyboardEvent

onBackButtonClick()method 
protected function onBackButtonClick(event:MouseEvent):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Listener that responds to a click event on the back button.

Parameters

event:MouseEvent

onDragDrop()method 
protected function onDragDrop(event:DragEvent):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Listener that responds to a drop event on the back button.

Parameters

event:DragEvent

onDragExit()method 
protected function onDragExit(event:DragEvent):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Listener that responds to a drag exit or a mouse out event on the back button

Parameters

event:DragEvent

onDragOver()method 
protected function onDragOver(event:DragEvent):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Listener that responds to a drag over the back button. If hovered over the back button, the folder will be changed to its parent during the drag.

Parameters

event:DragEvent

onHostEvent()method 
protected function onHostEvent(event:CollectionManagerEvent):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Listener that responds to events from the Collection Manager.

Parameters

event:CollectionManagerEvent

onTimerComplete()method 
protected function onTimerComplete(event:TimerEvent):void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Listener that responds to the timer complete event of dragTimer. At timer complete, the folder is changed to its parent.

Parameters

event:TimerEvent

partAdded()method 
override protected function partAdded(partName:String, instance:Object):void

Parameters

partName:String
 
instance:Object

partRemoved()method 
override protected function partRemoved(partName:String, instance:Object):void

Parameters

partName:String
 
instance:Object

upOneFolder()method 
public function upOneFolder():void

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Changes folder to its parent.

Constant Detail
collectionManagerConstant
protected const collectionManager:CollectionManager

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

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

DRAG_DROP_ATTACHMENTSConstant 
public static const DRAG_DROP_ATTACHMENTS:String = attachments

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

Format that defines the set of Acrobat drag and drop attachments.

PART_BACK_BUTTONConstant 
public static const PART_BACK_BUTTON:String = backButton

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

String literals used to represent the skin parts exposed by FolderBack to its skins.