ScreenNavigatorItem

public class
feathers.controls.ScreenNavigatorItem

Description

Data for an individual screen that will be used by a ScreenNavigator object.

See also:
http://wiki.starling-framework.org/feathers/screen-navigator
feathers.controls.ScreenNavigator

API overview

Constructor

ScreenNavigatorItem ( screen: Object = null , events: Dictionary.<String, Object> = null , properties: Dictionary.<String, Object> = null )
Constructor.

Attributes

Public attributes

events: Dictionary.<String, Object>

A hash of events to which the ScreenNavigator will listen

properties: Dictionary.<String, Object>

A hash of properties to set on the screen

screen: Object

A Starling DisplayObject, a Type that may be instantiated to create a DisplayObject, or a Function that returns a DisplayObject

Functions

Public functions

getScreen (): DisplayObject

internal

Constructor

ScreenNavigatorItem ( screen: Object = null , events: Dictionary.<String, Object> = null , properties: Dictionary.<String, Object> = null )

Constructor.

Attributes

events: Dictionary.<String, Object>

A hash of events to which the ScreenNavigator will listen. Keys in the hash are event types (or the property name of an ISignal), and values are one of two possible types. If the value is a String, it must refer to a screen ID for the ScreenNavigator to display. If the value is a Function, it must be a listener for the screen's event or ISignal.

properties: Dictionary.<String, Object>

A hash of properties to set on the screen.

screen: Object

A Starling DisplayObject, a Type that may be instantiated to create a DisplayObject, or a Function that returns a DisplayObject.

Functions

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.

getScreen (): DisplayObject

internal



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.

: