Packagefeathers.motion.transitions
Classpublic class TabBarSlideTransitionManager
InheritanceTabBarSlideTransitionManager Inheritance Object

Slides new screens from the left or right depending on the old and new selected index values of a TabBar control.

See also

feathers.controls.ScreenNavigator
feathers.controls.TabBar


Public Properties
 PropertyDefined By
  delay : Number = 0.1
A delay before the transition starts, measured in seconds.
TabBarSlideTransitionManager
  duration : Number = 0.25
The duration of the transition, measured in seconds.
TabBarSlideTransitionManager
  ease : Object = easeOut
The easing function to use.
TabBarSlideTransitionManager
  skipNextTransition : Boolean = false
Determines if the next transition should be skipped.
TabBarSlideTransitionManager
Protected Properties
 PropertyDefined By
  navigator : ScreenNavigator
The ScreenNavigator being managed.
TabBarSlideTransitionManager
  tabBar : TabBar
The TabBar that controls the navigation.
TabBarSlideTransitionManager
Public Methods
 MethodDefined By
  
Constructor.
TabBarSlideTransitionManager
Protected Methods
 MethodDefined By
  
onTransition(oldScreen:DisplayObject, newScreen:DisplayObject, onComplete:Function):void
The function passed to the transition property of the ScreenNavigator.
TabBarSlideTransitionManager
Property Detail
delayproperty
public var delay:Number = 0.1

A delay before the transition starts, measured in seconds. This may be required on low-end systems that will slow down for a short time after heavy texture uploads.

The default value is 0.1.

durationproperty 
public var duration:Number = 0.25

The duration of the transition, measured in seconds.

The default value is 0.25.

easeproperty 
public var ease:Object = easeOut

The easing function to use.

The default value is starling.animation.Transitions.EASE_OUT.

navigatorproperty 
protected var navigator:ScreenNavigator

The ScreenNavigator being managed.

skipNextTransitionproperty 
public var skipNextTransition:Boolean = false

Determines if the next transition should be skipped. After the transition, this value returns to false.

The default value is false.

tabBarproperty 
protected var tabBar:TabBar

The TabBar that controls the navigation.

Constructor Detail
TabBarSlideTransitionManager()Constructor
public function TabBarSlideTransitionManager(navigator:ScreenNavigator, tabBar:TabBar)

Constructor.

Parameters
navigator:ScreenNavigator
 
tabBar:TabBar
Method Detail
onTransition()method
protected function onTransition(oldScreen:DisplayObject, newScreen:DisplayObject, onComplete:Function):void

The function passed to the transition property of the ScreenNavigator.

Parameters

oldScreen:DisplayObject
 
newScreen:DisplayObject
 
onComplete:Function