| Package | com.adobe.portfolio.components |
| Class | public class LinearList |
| Inheritance | LinearList CardList spark.components.List |
Default MXML PropertydataProvider
| Property | Defined By | ||
|---|---|---|---|
![]() | autoListen : AutoListen | CardList | |
![]() | autoWatch : AutoWatch | CardList | |
![]() | cardLayout : ICardLayout | CardList | |
![]() | cardLayoutHelper : CardLayoutHelper | CardList | |
![]() | focusCardDelta : int | CardList | |
| projection : PerspectiveProjection | LinearList | ||
| Method | Defined By | ||
|---|---|---|---|
| LinearList | |||
![]() | addDragData(dragSource:DragSource):void [override]
Take the data set by the list for ordered items and add it to the attachments
data format. | CardList | |
addListenAndWatch():void [override] | LinearList | ||
![]() | calculateDropLocation(event:DragEvent):DropLocation Calculate the dropLocation of the dragEvent. | CardList | |
![]() | cardFromAttachment(_dataGroup:DataGroup, attachment:Object):ISimpleCard [static] | CardList | |
![]() | collectionDropEnabled(event:DragEvent):Boolean
Helper function that determines whether drag drop is supported
| CardList | |
![]() | createDropIndicator():DisplayObject [override] | CardList | |
![]() | disableDragAndDrop():void [static] | CardList | |
![]() | enableDragAndDrop():void [static] | CardList | |
![]() | CardList | ||
![]() | getFolderItemAtDragLocation(dropLocation:DropLocation):IAttachment Gets the folder item at the drop location
| CardList | |
![]() | removeListenAndWatch():void | CardList | |
![]() | setSelectedIndexWithChangeDispatch(value:int):void | CardList | |
![]() | setSelectedIndicesWithChangeDispatch(value:Vector.<int>):void | CardList | |
![]() | updateRenderer(renderer:IVisualElement, itemIndex:int, data:Object):void [override] | CardList | |
| Method | Defined By | ||
|---|---|---|---|
![]() | addListener(listener:IEventDispatcher, type:String, handler:Function):void | CardList | |
![]() | addWatcher(watcher:ChangeWatcher):void | CardList | |
centerProjection():void | LinearList | ||
![]() | dataProviderIsCurrent():Boolean
Returns true if the dataProvider for this list matches the CollectionMgr's currentItems. | CardList | |
![]() | dragCompleteHandler(event:DragEvent):void [override] | CardList | |
![]() | dragDropHandler(event:DragEvent):void [override] | CardList | |
![]() | dragEnterHandler(event:DragEvent):void [override] | CardList | |
![]() | dragExitHandler(event:DragEvent):void [override] | CardList | |
![]() | dragOverHandler(event:DragEvent):void [override] | CardList | |
![]() | dragStartHandler(event:DragEvent):void [override] Overriding the dragStartHandler to set a boolean to indicate that drag has started
| CardList | |
![]() | handleDragDropReordering(event:DragEvent):void Handles the actual dragDrop. | CardList | |
![]() | handleDropOnFolder(folder:IAttachment, event:DragEvent):IList Handles drop on a folder
| CardList | |
![]() | handleFocusChange(event:NavHostEvent):void | CardList | |
![]() | handleSelectionChanged():void
Updates the host selection based on the current list selection. | CardList | |
![]() | initializeSelectionFromHost():Boolean | CardList | |
itemSelected(index:int, selected:Boolean):void [override] | LinearList | ||
![]() | keyDownHandler(event:KeyboardEvent):void [override] | CardList | |
![]() | makeNewOrderedList(dropIndex:int, droppingItems:ArrayCollection, dragInitiator:IUIComponent):IList
Creates an ordered list of items after the drop. | CardList | |
![]() | 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 | ||
![]() | onCreationComplete(event:FlexEvent):void | CardList | |
![]() | onIndexChangeEvent(event:IndexChangeEvent):void | CardList | |
onNavHostEvent(event:NavHostEvent):void [override] | LinearList | ||
![]() | 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 | ||
![]() | removeListener(listener:IEventDispatcher, type:String = null):void | CardList | |
![]() | reorderAttachments(source:IList):Boolean Send the reorder command once all the attachments are found in the given list
| CardList | |
![]() | resizeCachedThumbs():void | CardList | |
![]() | setFocusOnIndexChange(attachment:IAttachment):void | CardList | |
![]() | updateSelection():void | CardList | |
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 | ||
| Constant | Defined By | ||
|---|---|---|---|
![]() | collectionMgr : CollectionManager The navigator's CollectionManager instance. | CardList | |
![]() | DRAG_DROP_ATTACHMENTS : String = attachments [static]
Format that defines the set of Acrobat drag and drop attachments. | CardList | |
![]() | DRAG_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 | ||
| projection | property |
protected var projection:PerspectiveProjection| LinearList | () | Constructor |
public function LinearList()| addListenAndWatch | () | method |
override public function addListenAndWatch():void| centerProjection | () | method |
protected function centerProjection():void| itemSelected | () | method |
override protected function itemSelected(index:int, selected:Boolean):voidParameters
index:int | |
selected:Boolean |
| onCollectionChange | () | method |
override protected function onCollectionChange(e:CollectionEvent):voidParameters
e:CollectionEvent |
| onNavHostEvent | () | method |
| onResize | () | method |
override protected function onResize(event:ResizeEvent):voidParameters
event:ResizeEvent |
| partAdded | () | method |
override protected function partAdded(partName:String, instance:Object):voidCalled 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):voidCalled when a skin has removed a skin part for this instance.
Parameters
partName:String | |
instance:Object |
| PART_GUIDE_CARD | Constant |
public static const PART_GUIDE_CARD:String = guideCard| PART_NEXT_BUTTON | Constant |
public static const PART_NEXT_BUTTON:String = nextButton| PART_PREV_BUTTON | Constant |
public static const PART_PREV_BUTTON:String = prevButtonString literals used to represent the skin parts exposed by OneUp to its skins. XXX They should match the names of the SkinPart vars below.