Packageardisia.components.timeMachineList
Classpublic class TimeMachineList
InheritanceTimeMachineList Inheritance spark.components.List

List optimized for use with the TimeMachineLayout 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.
TimeMachineList
  easer : IEaser
The easer to use for animations.
TimeMachineList
Public Methods
 MethodDefined By
  
TimeMachineList
  
centerIndex(index:int):void
Center the renderer in the layout.
TimeMachineList
  
startAnimation(scrollTo:Number):void
Start a scrolling animation.
TimeMachineList
Protected Methods
 MethodDefined By
  
hScrollerPartHandler(event:Event):void
Handles events on the hScroller part.
TimeMachineList
  
mouseHandler(event:MouseEvent):void
Handles mouse events.
TimeMachineList
  
Updates the HScroller skin part.
TimeMachineList
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 time machine.
TimeMachineList
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).

Constructor Detail
TimeMachineList()Constructor
public function TimeMachineList()



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

Center the renderer in the layout.

Parameters

index:int — the index of the renderer

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

Handles events on the hScroller 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

Updates the HScroller skin part.