Packageardisia.components.coverflowList
Classpublic class CoverflowList
InheritanceCoverflowList Inheritance spark.components.List

List optimized for use with the CoverflowLayout class.

View the technical documentation on the Ardisia Labs website for more information.

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
  duration : Number = 350
The duration of the animations.
CoverflowList
  easer : IEaser
The easer to use for animations.
CoverflowList
Public Methods
 MethodDefined By
  
centerIndex(index:int):void
Center the renderer in the layout.
CoverflowList
  
startAnimation(scrollTo:Number):void
Start a scrolling animation.
CoverflowList
Protected Methods
 MethodDefined By
  
[override] Handles the collection events on the dataProvider.
CoverflowList
  
hScrollerPartHandler(event:Event):void
Handles events for the hScroller skin part.
CoverflowList
  
mouseHandler(event:MouseEvent):void
Handles mouse events.
CoverflowList
  
Update the hScroller skin part.
CoverflowList
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
  
hScrollerPart:spark.components.supportClasses.ScrollBarBase
Required: false Part Type: Static
Scroll bar used to navigate the coverflow.
CoverflowList
Property Detail
durationproperty
public var duration:Number = 350

The duration of the animations. Set to 0 to skip animation.

The default value is 350.

easerproperty 
public var easer:IEaser

The easer to use for animations.

The default value is Power(0.1, 4).

Method Detail
centerIndex()method
public function centerIndex(index:int):void

Center the renderer in the layout.

Parameters

index:int — the index of the renderer

dataProvider_collectionChangeHandler()method 
override protected function dataProvider_collectionChangeHandler(event:Event):void

Handles the collection events on the dataProvider.

Parameters

event:Event — The CollectionEvent that triggered the handler

hScrollerPartHandler()method 
protected function hScrollerPartHandler(event:Event):void

Handles events for the hScroller skin part.

Parameters

event:Event — the Event that triggered the handler

mouseHandler()method 
protected function mouseHandler(event:MouseEvent):void

Handles mouse events.

Parameters

event:MouseEvent — the MouseEvent that triggered the handler

startAnimation()method 
public function startAnimation(scrollTo:Number):void

Start a scrolling animation.

Parameters

scrollTo:Number — the property to animate

updateHScroller()method 
protected function updateHScroller():void

Update the hScroller skin part.