Packagecom.adobe.portfolio.components
Classpublic class LinearList
InheritanceLinearList 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
 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
  projection : PerspectiveProjection
LinearList
Public Methods
 MethodDefined By
  
LinearList
 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]
LinearList
 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
 Inherited
CardList
 Inherited
getFolderItemAtDragLocation(dropLocation:DropLocation):IAttachment
Gets the folder item at the drop location
CardList
 Inherited
CardList
 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
  
LinearList
 Inherited
Returns true if the dataProvider for this list matches the CollectionMgr's currentItems.
CardList
 Inherited
dragCompleteHandler(event:DragEvent):void
[override]
CardList
 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
 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
  
itemSelected(index:int, selected:Boolean):void
[override]
LinearList
 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
  
onCollectionChange(e:CollectionEvent):void
[override]
LinearList
 Inherited
onCreationComplete(event:FlexEvent):void
CardList
 Inherited
onIndexChangeEvent(event:IndexChangeEvent):void
CardList
  
[override]
LinearList
 Inherited
onOpenFolderTimeComplete(evt:TimerEvent):void
CardList
  
onResize(event:ResizeEvent):void
[override]
LinearList
  
partAdded(partName:String, instance:Object):void
[override] Called when a skin has added a skin part for this instance.
LinearList
  
partRemoved(partName:String, instance:Object):void
[override] Called when a skin has removed a skin part for this instance.
LinearList
 Inherited
removeListener(listener:IEventDispatcher, type:String = null):void
CardList
 Inherited
reorderAttachments(source:IList):Boolean
Send the reorder command once all the attachments are found in the given list
CardList
 Inherited
CardList
 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
  
guideCard:SimpleCard
Required: false Part Type: Static

LinearList
  
nextButton:mx.core.IButton
Required: false Part Type: Static
A button for navigating to the next attachment, optionally provided by this instance's skin.
LinearList
  
prevButton:mx.core.IButton
Required: false Part Type: Static
A button for navigating to the previous attachment, optionally provided by this instance's skin.
LinearList
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_GUIDE_CARD : String = guideCard
[static]
LinearList
  PART_NEXT_BUTTON : String = nextButton
[static]
LinearList
  PART_PREV_BUTTON : String = prevButton
[static] String literals used to represent the skin parts exposed by OneUp to its skins.
LinearList
Property Detail
projectionproperty
protected var projection:PerspectiveProjection

Constructor Detail
LinearList()Constructor
public function LinearList()



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

centerProjection()method 
protected function centerProjection():void

itemSelected()method 
override protected function itemSelected(index:int, selected:Boolean):void

Parameters

index:int
 
selected:Boolean

onCollectionChange()method 
override protected function onCollectionChange(e:CollectionEvent):void

Parameters

e:CollectionEvent

onNavHostEvent()method 
override protected function onNavHostEvent(event:NavHostEvent):void

Parameters

event:NavHostEvent

onResize()method 
override protected function onResize(event:ResizeEvent):void

Parameters

event:ResizeEvent

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

Constant Detail
PART_GUIDE_CARDConstant
public static const PART_GUIDE_CARD:String = guideCard

PART_NEXT_BUTTONConstant 
public static const PART_NEXT_BUTTON:String = nextButton

PART_PREV_BUTTONConstant 
public static const PART_PREV_BUTTON:String = prevButton

String literals used to represent the skin parts exposed by OneUp to its skins. XXX They should match the names of the SkinPart vars below.