| Package | com.adobe.portfolio.components |
| Class | public class FreeFormList |
| Inheritance | FreeFormList CardContainer CardList spark.components.List |
Default MXML PropertydataProvider
| Property | Defined By | ||
|---|---|---|---|
![]() | autoListen : AutoListen | CardList | |
![]() | autoWatch : AutoWatch | CardList | |
![]() | cardLayout : ICardLayout | CardList | |
![]() | cardLayoutHelper : CardLayoutHelper | CardList | |
![]() | cardSize : String | CardContainer | |
![]() | focusCardDelta : int | CardList | |
| mouseDownPoint : Point | FreeFormList | ||
| selectedItemLocations : Dictionary | FreeFormList | ||
| selectionExtensionAnchorIndex : int = -1 | FreeFormList | ||
| Method | Defined By | ||
|---|---|---|---|
Default constructor for FreeFormList. | FreeFormList | ||
![]() | 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] | CardContainer | |
![]() | 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 | |
createDragIndicator():IFlexDisplayObject [override] | FreeFormList | ||
createDropIndicator():DisplayObject [override] | FreeFormList | ||
![]() | 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 | |
setCurrentState(stateName:String, playTransition:Boolean = true):void [override] Sets the state of the skin as well as the state of this instance. | FreeFormList | ||
![]() | setSelectedIndexWithChangeDispatch(value:int):void | CardList | |
![]() | setSelectedIndicesWithChangeDispatch(value:Vector.<int>):void | CardList | |
![]() | updateRenderer(renderer:IVisualElement, itemIndex:int, data:Object):void [override] | CardList | |
| Method | Defined By | ||
|---|---|---|---|
addDragListeners():void | FreeFormList | ||
![]() | 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] | FreeFormList | ||
![]() | dragEnterHandler(event:DragEvent):void [override] | CardList | |
dragExitHandler(event:DragEvent):void [override] | FreeFormList | ||
![]() | dragOverHandler(event:DragEvent):void [override] | CardList | |
dragStartHandler(event:DragEvent):void [override] | FreeFormList | ||
extendSelection(event:MouseEvent):void | FreeFormList | ||
extendSelectionToHere(newIndex:int):void | FreeFormList | ||
getCurrentSkinState():String [override] Returns the current state of this instance, since its skins should have a matching
set of states. | FreeFormList | ||
![]() | 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 | |
![]() | initStates():void | CardContainer | |
item_mouseDownHandler(event:MouseEvent):void [override] | FreeFormList | ||
keyDownHandler(event:KeyboardEvent):void [override] | FreeFormList | ||
![]() | makeNewOrderedList(dropIndex:int, droppingItems:ArrayCollection, dragInitiator:IUIComponent):IList
Creates an ordered list of items after the drop. | CardList | |
![]() | modifiersActive(event:MouseEvent, shiftKeyOK:Boolean = false, ctrlKeyOK:Boolean = false):Boolean | CardContainer | |
moveSelectedItemLocations(event:MouseEvent):void | FreeFormList | ||
![]() | 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 | CardList | |
![]() | onCreationComplete(event:FlexEvent):void | CardList | |
![]() | onHandledFocus(event:NavLayoutEvent):void onHandledFocus is used to ensure that the layout has successfully handled
the layout of its initial focused attachment before transitioning in the remaining pieces
of UI. | CardContainer | |
onIndexChangeEvent(event:IndexChangeEvent):void [override] | FreeFormList | ||
onMarqueeSelectionBegin(event:MarqueeSelectionEvent):void [override] | FreeFormList | ||
![]() | onMarqueeSelectionCancelled(event:MarqueeSelectionEvent):void | CardContainer | |
![]() | onMarqueeSelectionEnd(event:MarqueeSelectionEvent):void | CardContainer | |
![]() | onMarqueeSelectionMove(event:MarqueeSelectionEvent):void | CardContainer | |
onMouseMove(event:MouseEvent):void | FreeFormList | ||
onMouseRollOut(event:MouseEvent):void | FreeFormList | ||
onMouseRollOver(event:MouseEvent):void | FreeFormList | ||
onMouseUp(event:MouseEvent):void | FreeFormList | ||
![]() | onNavHostEvent(event:NavHostEvent):void | CardList | |
![]() | onNavPreviewCurrentState(value:String):void | CardContainer | |
![]() | onOpenFolderTimeComplete(evt:TimerEvent):void | CardList | |
![]() | onResize(event:ResizeEvent):void | CardList | |
partAdded(partName:String, instance:Object):void [override] Called when a skin has added a skin part for this instance. | FreeFormList | ||
partRemoved(partName:String, instance:Object):void [override] Called when a skin has removed a skin part for this instance. | FreeFormList | ||
removeDragListeners():void | FreeFormList | ||
![]() | removeListener(listener:IEventDispatcher, type:String = null):void | CardList | |
rendererWasAdded(visualElement:IVisualElement):void | FreeFormList | ||
rendererWasRemoved(visualElement:IVisualElement):void | FreeFormList | ||
![]() | reorderAttachments(source:IList):Boolean Send the reorder command once all the attachments are found in the given list
| CardList | |
resetCardSizes():void [override] | FreeFormList | ||
![]() | resizeCachedThumbs():void | CardList | |
saveSelectedItemLocations(event:MouseEvent):void | FreeFormList | ||
![]() | setFocusOnIndexChange(attachment:IAttachment):void | CardList | |
updateMultiSelection(selectedItems:Vector.<int>):void [override] | FreeFormList | ||
![]() | 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.
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.
| Constant | Defined By | ||
|---|---|---|---|
| logger : ILogger [static] | FreeFormList | ||
| mouseDownPoint | property |
protected var mouseDownPoint:Point| selectedItemLocations | property |
protected var selectedItemLocations:Dictionary| selectionExtensionAnchorIndex | property |
protected var selectionExtensionAnchorIndex:int = -1| FreeFormList | () | Constructor |
public function FreeFormList()Default constructor for FreeFormList.
| addDragListeners | () | method |
protected function addDragListeners():void| createDragIndicator | () | method |
override public function createDragIndicator():IFlexDisplayObjectReturnsIFlexDisplayObject |
| createDropIndicator | () | method |
override public function createDropIndicator():DisplayObjectReturnsDisplayObject |
| dragDropHandler | () | method |
override protected function dragDropHandler(event:DragEvent):voidParameters
event:DragEvent |
| dragExitHandler | () | method |
override protected function dragExitHandler(event:DragEvent):voidParameters
event:DragEvent |
| dragStartHandler | () | method |
override protected function dragStartHandler(event:DragEvent):voidParameters
event:DragEvent |
| extendSelection | () | method |
protected function extendSelection(event:MouseEvent):voidParameters
event:MouseEvent |
| extendSelectionToHere | () | method |
protected function extendSelectionToHere(newIndex:int):voidParameters
newIndex:int |
| getCurrentSkinState | () | method |
override protected function getCurrentSkinState():StringReturns the current state of this instance, since its skins should have a matching set of states.
ReturnsString |
| item_mouseDownHandler | () | method |
override protected function item_mouseDownHandler(event:MouseEvent):voidParameters
event:MouseEvent |
| keyDownHandler | () | method |
override protected function keyDownHandler(event:KeyboardEvent):voidParameters
event:KeyboardEvent |
| moveSelectedItemLocations | () | method |
protected function moveSelectedItemLocations(event:MouseEvent):voidParameters
event:MouseEvent |
| onIndexChangeEvent | () | method |
override protected function onIndexChangeEvent(event:IndexChangeEvent):voidParameters
event:IndexChangeEvent |
| onMarqueeSelectionBegin | () | method |
override protected function onMarqueeSelectionBegin(event:MarqueeSelectionEvent):voidParameters
event:MarqueeSelectionEvent |
| onMouseMove | () | method |
protected function onMouseMove(event:MouseEvent):voidParameters
event:MouseEvent |
| onMouseRollOut | () | method |
protected function onMouseRollOut(event:MouseEvent):voidParameters
event:MouseEvent |
| onMouseRollOver | () | method |
protected function onMouseRollOver(event:MouseEvent):voidParameters
event:MouseEvent |
| onMouseUp | () | method |
protected function onMouseUp(event:MouseEvent):voidParameters
event:MouseEvent |
| 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 |
| removeDragListeners | () | method |
protected function removeDragListeners():void| rendererWasAdded | () | method |
protected function rendererWasAdded(visualElement:IVisualElement):voidParameters
visualElement:IVisualElement |
| rendererWasRemoved | () | method |
protected function rendererWasRemoved(visualElement:IVisualElement):voidParameters
visualElement:IVisualElement |
| resetCardSizes | () | method |
override protected function resetCardSizes():void| saveSelectedItemLocations | () | method |
protected function saveSelectedItemLocations(event:MouseEvent):voidParameters
event:MouseEvent |
| setCurrentState | () | method |
override public function setCurrentState(stateName:String, playTransition:Boolean = true):voidSets the state of the skin as well as the state of this instance.
Parameters
stateName:String | |
playTransition:Boolean (default = true) |
| updateMultiSelection | () | method |
override protected function updateMultiSelection(selectedItems:Vector.<int>):voidParameters
selectedItems:Vector.<int> |
| logger | Constant |
protected static const logger:ILogger