Package | ardisia.components.timeMachineList |
Class | public class TimeMachineList |
Inheritance | TimeMachineList spark.components.List |
View the technical documentation on the Ardisia Labs website for more information.
Default MXML PropertydataProvider
Property | Defined By | ||
---|---|---|---|
duration : Number = 350
The duration of the animations. | TimeMachineList | ||
easer : IEaser
The easer to use for animations. | TimeMachineList |
Method | Defined By | ||
---|---|---|---|
TimeMachineList | |||
centerIndex(index:int):void
Center the renderer in the layout. | TimeMachineList | ||
startAnimation(scrollTo:Number):void
Start a scrolling animation. | TimeMachineList |
Method | Defined By | ||
---|---|---|---|
hScrollerPartHandler(event:Event):void
Handles events on the hScroller part. | TimeMachineList | ||
mouseHandler(event:MouseEvent):void
Handles mouse events. | TimeMachineList | ||
updateHScroller():void
Updates the HScroller skin part. | TimeMachineList |
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 |
duration | property |
public var duration:Number = 350
The duration of the animations. Set to 0 to skip animation.
The default value is 350
.
easer | property |
public var easer:IEaser
The easer to use for animations.
The default value is Power(0.1, 4)
.
TimeMachineList | () | Constructor |
public function TimeMachineList()
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.