Packagecom.adobe.portfolio.components
Classpublic class MiniNavList
InheritanceMiniNavList Inheritance CardList Inheritance spark.components.List

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
 InheritedbindableDataGroup : DataGroup
[read-only]
CardList
 InheriteddataProvider : IList
[override] [write-only]
CardList
 InheriteddragStarted : Boolean = false
Boolean to indicate dragOperation is in progress
CardList
 InheritedenableIdle : Boolean
CardList
  heightIfPresent : Number
MiniNavList
  showSlammer : Boolean
[read-only]
MiniNavList
 InheriteduseDragDropOnFolders : Boolean = false
To enable dragDrop on folders during drag
CardList
 InheriteduseDragDropReordering : Boolean = false
To use advanced reordering
CardList
Protected Properties
 PropertyDefined By
 InheritedautoListen : AutoListen
CardList
 InheritedautoWatch : AutoWatch
CardList
 InheritedcardLayout : ICardLayout
CardList
 InheritedcardLayoutHelper : CardLayoutHelper
CardList
 InheritedfocusCardDelta : int
CardList
Public Methods
 MethodDefined By
  
MiniNavList
 Inherited
addDragData(dragSource:DragSource):void
[override] Take the data set by the list for ordered items and add it to the attachments data format.
CardList
  
[override]
MiniNavList
 Inherited
calculateDropLocation(event:DragEvent):DropLocation
Calculate the dropLocation of the dragEvent.
CardList
 Inherited
cardFromAttachment(_dataGroup:DataGroup, attachment:Object):ISimpleCard
[static]
CardList
 Inherited
collectionDropEnabled(event:DragEvent):Boolean
Helper function that determines whether drag drop is supported
CardList
 Inherited
createDropIndicator():DisplayObject
[override]
CardList
 Inherited
[static]
CardList
 Inherited
[static]
CardList
  
ensureIndexIsVisible(index:int):void
[override] Overriding ensureIndexIsVisible to prevent the items moving by default list behavior.
MiniNavList
 Inherited
CardList
 Inherited
getFolderItemAtDragLocation(dropLocation:DropLocation):IAttachment
Gets the folder item at the drop location
CardList
  
onMouseUp(evt:MouseEvent = null):void
MiniNavList
  
MiniNavList
  
[override]
MiniNavList
 Inherited
CardList
 Inherited
setSelectedIndicesWithChangeDispatch(value:Vector.<int>):void
CardList
 Inherited
updateRenderer(renderer:IVisualElement, itemIndex:int, data:Object):void
[override]
CardList
Protected Methods
 MethodDefined By
 Inherited
addListener(listener:IEventDispatcher, type:String, handler:Function):void
CardList
 Inherited
addWatcher(watcher:ChangeWatcher):void
CardList
 Inherited
Returns true if the dataProvider for this list matches the CollectionMgr's currentItems.
CardList
  
dragCompleteHandler(event:DragEvent):void
[override]
MiniNavList
 Inherited
dragDropHandler(event:DragEvent):void
[override]
CardList
 Inherited
dragEnterHandler(event:DragEvent):void
[override]
CardList
 Inherited
dragExitHandler(event:DragEvent):void
[override]
CardList
 Inherited
dragOverHandler(event:DragEvent):void
[override]
CardList
 Inherited
dragStartHandler(event:DragEvent):void
[override] Overriding the dragStartHandler to set a boolean to indicate that drag has started
CardList
  
[override] Returns the current state of this instance, since its skins should have a matching set of states.
MiniNavList
 Inherited
handleDragDropReordering(event:DragEvent):void
Handles the actual dragDrop.
CardList
 Inherited
handleDropOnFolder(folder:IAttachment, event:DragEvent):IList
Handles drop on a folder
CardList
 Inherited
CardList
 Inherited
Updates the host selection based on the current list selection.
CardList
 Inherited
CardList
  
item_mouseDownHandler(event:MouseEvent):void
[override]
MiniNavList
 Inherited
keyDownHandler(event:KeyboardEvent):void
[override]
CardList
 Inherited
makeNewOrderedList(dropIndex:int, droppingItems:ArrayCollection, dragInitiator:IUIComponent):IList
Creates an ordered list of items after the drop.
CardList
 Inherited
onChildrenCollectionChange(event:CollectionEvent):void
Once the att's parent has been changed and it has been added to this collection, send the reorder command
CardList
 Inherited
onCollectionChange(e:CollectionEvent):void
CardList
 Inherited
onCreationComplete(event:FlexEvent):void
CardList
  
onIndexChangeEvent(event:IndexChangeEvent):void
[override] Set Focus on index change.
MiniNavList
 Inherited
CardList
 Inherited
onOpenFolderTimeComplete(evt:TimerEvent):void
CardList
 Inherited
onResize(event:ResizeEvent):void
CardList
  
onSlammerClick(evt:Event):void
onSlammerClick is used to handle the click of the slammer.
MiniNavList
  
partAdded(partName:String, instance:Object):void
[override] Called when a skin has added a skin part for this instance.
MiniNavList
  
partRemoved(partName:String, instance:Object):void
[override] Called when a skin has removed a skin part for this instance.
MiniNavList
 Inherited
removeListener(listener:IEventDispatcher, type:String = null):void
CardList
  
reorderAttachments(source:IList):Boolean
[override]
MiniNavList
  
[override]
MiniNavList
 Inherited
CardList
 Inherited
CardList
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
  
slammer:spark.components.ToggleButton
Required: false Part Type: Static
A button for hiding and showing the Mini Nav.
MiniNavList
Skin States

To skin the component, implement a skin that defines the following states. Although you must implement all skin states, a skin state can be empty. An empty skin state specifies no changes to the default skin state.


 Skin State Description Defined By
  
hidden
MiniNavList
  
normal
MiniNavList
Public Constants
 ConstantDefined By
 InheritedcollectionMgr : CollectionManager
The navigator's CollectionManager instance.
CardList
 InheritedDRAG_DROP_ATTACHMENTS : String = attachments
[static] Format that defines the set of Acrobat drag and drop attachments.
CardList
 InheritedDRAG_DROP_ITEMS : String = itemsByIndex
[static] Format that defines the default set of List drag and drop items.
CardList
  PART_SLAMMER : String = slammer
[static]
MiniNavList
  SKIN_STATE_DISABLED : String = disabled
[static]
MiniNavList
  SKIN_STATE_HIDDEN : String = hidden
[static]
MiniNavList
  SKIN_STATE_NORMAL : String = normal
[static]
MiniNavList
Property Detail
heightIfPresentproperty
heightIfPresent:Number

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


Implementation
    public function get heightIfPresent():Number
    public function set heightIfPresent(value:Number):void
showSlammerproperty 
showSlammer:Boolean  [read-only]

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


Implementation
    public function get showSlammer():Boolean
Constructor Detail
MiniNavList()Constructor
public function MiniNavList()



Method Detail
addListenAndWatch()method
override public function addListenAndWatch():void

dragCompleteHandler()method 
override protected function dragCompleteHandler(event:DragEvent):void

Parameters

event:DragEvent

ensureIndexIsVisible()method 
override public function ensureIndexIsVisible(index:int):void

Overriding ensureIndexIsVisible to prevent the items moving by default list behavior.

Parameters

index:int

getCurrentSkinState()method 
override protected function getCurrentSkinState():String

Returns the current state of this instance, since its skins should have a matching set of states.

Returns
String
item_mouseDownHandler()method 
override protected function item_mouseDownHandler(event:MouseEvent):void

Parameters

event:MouseEvent

onIndexChangeEvent()method 
override protected function onIndexChangeEvent(event:IndexChangeEvent):void

Set Focus on index change. Delay index change until mouse is up or drag is completed.

Parameters

event:IndexChangeEvent

onMouseUp()method 
public function onMouseUp(evt:MouseEvent = null):void

Parameters

evt:MouseEvent (default = null)

onSlammerClick()method 
protected function onSlammerClick(evt:Event):void

onSlammerClick is used to handle the click of the slammer. It hides or shows the mini Nav.

Parameters

evt:Event

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

Called when a skin has added a skin part for this instance.

Parameters

partName:String
 
instance:Object

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

Called when a skin has removed a skin part for this instance.

Parameters

partName:String
 
instance:Object

performPendingUpdate()method 
public function performPendingUpdate():void

removeListenAndWatch()method 
override public function removeListenAndWatch():void

reorderAttachments()method 
override protected function reorderAttachments(source:IList):Boolean

Parameters

source:IList

Returns
Boolean
resizeCachedThumbs()method 
override protected function resizeCachedThumbs():void

Constant Detail
PART_SLAMMERConstant
public static const PART_SLAMMER:String = slammer

SKIN_STATE_DISABLEDConstant 
public static const SKIN_STATE_DISABLED:String = disabled

SKIN_STATE_HIDDENConstant 
public static const SKIN_STATE_HIDDEN:String = hidden

SKIN_STATE_NORMALConstant 
public static const SKIN_STATE_NORMAL:String = normal