Package | com.adobe.portfolio.components.details |
Class | public class DetailsCardList |
Inheritance | DetailsCardList ![]() ![]() |
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Default MXML PropertydataProvider
Property | Defined By | ||
---|---|---|---|
![]() | bindableDataGroup : DataGroup [read-only] | CardList | |
![]() | dataProvider : IList [override] [write-only]
Sets the dataProvider for this list. | CardList | |
details : Details
The main Details class. | DetailsCardList | ||
![]() | dragStarted : Boolean = false
A boolean to indicate that a drag operation is in progress
| CardList | |
![]() | enableIdle : Boolean | CardList | |
![]() | useDragDropOnFolders : Boolean = false
To enable dragDrop on folders during a drag operation. | CardList | |
![]() | useDragDropReordering : Boolean = false
To allow for reordering of items using simple drag and drop gestures. | CardList |
Method | Defined By | ||
---|---|---|---|
Constructor. | DetailsCardList | ||
![]() | addDragData(dragSource:DragSource):void [override]
Takes the data set by the list for ordered items and adds it to the attachments
data format. | CardList | |
addListenAndWatch():void [override]
Adds listeners and watchers that are automatically unwatched and unlistened. | DetailsCardList | ||
![]() | calculateDropLocation(event:DragEvent):DropLocation
Calculate the dropLocation of the given dragEvent. | CardList | |
![]() | cardFromAttachment(_dataGroup:DataGroup, attachment:Object):ISimpleCard [static]
Finds the card associated with the given attachment
| CardList | |
![]() | collectionDropEnabled(event:DragEvent):Boolean
Helper function that determines whether drag drop is supported
| CardList | |
![]() | createDropIndicator():DisplayObject [override]
Creates a custom dropIndicator for the cardList. | CardList | |
![]() | disableDragAndDrop():void [static]
Functions used to disable and enable drag and drop. | CardList | |
![]() | enableDragAndDrop():void [static] | CardList | |
![]() |
Finds the card corresponding to the attachment in focus. | CardList | |
getFolderItemAtDragLocation(dropLocation:DropLocation):IAttachment [override]
Gets the folder item at the drop location. | DetailsCardList | ||
![]() | removeListenAndWatch():void
Function to cleanup the event listeners required by miniNav list. | CardList | |
returnFocusToDetailsCardList():void
Returns focus to the details card list. | DetailsCardList | ||
![]() | setSelectedIndexWithChangeDispatch(value:int):void
Force selection change. | CardList | |
![]() | setSelectedIndicesWithChangeDispatch(value:Vector.<int>):void
Force selection change. | CardList | |
![]() | updateRenderer(renderer:IVisualElement, itemIndex:int, data:Object):void [override]
| CardList | |
updateSortIndicators():void
Called when the sort order is changed by clicking in the header of a column. | DetailsCardList |
Method | Defined By | ||
---|---|---|---|
![]() | addListener(listener:IEventDispatcher, type:String, handler:Function):void | CardList | |
![]() | addWatcher(watcher:ChangeWatcher):void | CardList | |
![]() | 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]
Does not start drag if some other component has disabled it. | CardList | |
![]() | handleDragDropReordering(event:DragEvent):void
Handles the reordering of items after a dragDrop. | CardList | |
![]() | handleDropOnFolder(folder:IAttachment, event:DragEvent):IList
Handles drop on a folder. | CardList | |
![]() | handleFocusChange(event:CollectionManagerEvent):void
Triggers generation of thumbnails around the new focus card. | CardList | |
![]() | handleSelectionChanged():void
Updates the host's selection based on the current list selection. | CardList | |
initializeSelectionFromHost():Boolean [override] | DetailsCardList | ||
keyDownHandler(event:KeyboardEvent):void [override] | DetailsCardList | ||
![]() | makeNewOrderedList(dropIndex:int, droppingItems:ArrayCollection):IList
Creates an ordered list of items in the dataProvider after the drop. | CardList | |
![]() | onChildrenCollectionChange(event:CollectionEvent):void
This function is used when attachments are moved across folders. | CardList | |
![]() | onCollectionChange(e:CollectionEvent):void
Listener to handle collection change events. | CardList | |
![]() | onCreationComplete(event:FlexEvent):void | CardList | |
![]() | onIndexChangeEvent(event:IndexChangeEvent):void
This listener is called when the selection changes based on user interaction, or
when setSelectedIndexWithChangeDispatch or setSelectedIndicesWithChangeDispatch is used
to set the selection. | CardList | |
onListClick(event:MouseEvent):void | DetailsCardList | ||
![]() | onNavHostEvent(event:CollectionManagerEvent):void
Listener to handle events from the Collection Manager. | CardList | |
![]() | onOpenFolderTimeComplete(evt:TimerEvent):void
Called when the openFolderTimer completes. | CardList | |
onResize(event:ResizeEvent):void [override] | DetailsCardList | ||
![]() | onScroll(event:Event):void
Listener to handle scroll events of the scroller on cardLists. | CardList | |
partAdded(partName:String, instance:Object):void [override] Called when a skin has added a skin part for this instance. | DetailsCardList | ||
![]() | partRemoved(partName:String, instance:Object):void [override]
| CardList | |
![]() | removeListener(listener:IEventDispatcher, type:String = null):void | CardList | |
![]() | reorderAttachments(source:IList):Boolean
Sends 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 |
details | property |
details:Details
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The main Details class.
public function get details():Details
public function set details(value:Details):void
DetailsCardList | () | Constructor |
public function DetailsCardList()
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor.
addListenAndWatch | () | method |
override public function addListenAndWatch():void
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Adds listeners and watchers that are automatically unwatched and unlistened.
getFolderItemAtDragLocation | () | method |
override public function getFolderItemAtDragLocation(dropLocation:DropLocation):IAttachment
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Gets the folder item at the drop location.
Parameters
dropLocation:DropLocation — The location where the dropIndicator icon is to be displayed.
|
IAttachment — IAttachment of the folder item (or null)
|
initializeSelectionFromHost | () | method |
override protected function initializeSelectionFromHost():Boolean
ReturnsBoolean |
keyDownHandler | () | method |
override protected function keyDownHandler(event:KeyboardEvent):void
Parameters
event:KeyboardEvent |
onListClick | () | method |
protected function onListClick(event:MouseEvent):void
Parameters
event:MouseEvent |
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 |
returnFocusToDetailsCardList | () | method |
public function returnFocusToDetailsCardList():void
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Returns focus to the details card list. This is usually called after an action in the header has been processed (sort or resize for example).
updateSortIndicators | () | method |
public function updateSortIndicators():void
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Called when the sort order is changed by clicking in the header of a column. This method calls updateSortIndicators for each DetailsCard for this card list.