OldFadeNewSlideTransitionManager

public class
feathers.motion.transitions.OldFadeNewSlideTransitionManager

Description

A transition for ScreenNavigator that fades out the old screen and slides in the new screen from an edge. The slide starts from the right or left, depending on if the manager determines that the transition is a push or a pop.

Whether a screen change is supposed to be a push or a pop is determined automatically. The manager generates an identifier from the fully-qualified class name of the screen, and if present, the screenID defined by IScreen instances. If the generated identifier is present on the stack, a screen change is considered a pop. If the token is not present, it's a push. Screen IDs should be tailored to this behavior to avoid false positives.

If your navigation structure requires explicit pushing and popping, a custom transition manager is probably better.

See also:
feathers.controls.ScreenNavigator

API overview

Constructor

OldFadeNewSlideTransitionManager ( navigator: ScreenNavigator , quickStackScreenClass: Type = null , quickStackScreenID: String = null )
Constructor.

Attributes

Public attributes

delay: Number

A delay before the transition starts, measured in seconds

duration: Number

The duration of the transition

ease: Object

The easing function to use

skipNextTransition: Boolean

Determines if the next transition should be skipped

Protected attributes

Functions

Public functions

clearStack (): Void

Removes all saved classes from the stack that are used to determine which side of the ScreenNavigator the new screen will slide in from

Protected functions

Constructor

OldFadeNewSlideTransitionManager ( navigator: ScreenNavigator , quickStackScreenClass: Type = null , quickStackScreenID: String = null )

Constructor.

Attributes

delay: Number

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.

duration: Number

The duration of the transition.

ease: Object

The easing function to use.

skipNextTransition: Boolean

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

Protected attributes

Functions

clearStack (): Void

Removes all saved classes from the stack that are used to determine which side of the ScreenNavigator the new screen will slide in from.



getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

Protected functions