| Package | feathers.controls |
| Class | public class ScreenNavigatorItem |
| Inheritance | ScreenNavigatorItem Object |
ScreenNavigator
object.
See also
| Property | Defined By | ||
|---|---|---|---|
| events : Object
A hash of events to which the ScreenNavigator will listen. | ScreenNavigatorItem | ||
| properties : Object
A hash of properties to set on the screen. | ScreenNavigatorItem | ||
| screen : Object
A Starling DisplayObject, a Class that may be instantiated to create
a DisplayObject, or a Function that returns a DisplayObject. | ScreenNavigatorItem | ||
| Method | Defined By | ||
|---|---|---|---|
ScreenNavigatorItem(screen:Object = null, events:Object = null, properties:Object = null)
Constructor. | ScreenNavigatorItem | ||
Creates and instance of the screen type (or uses the screen directly
if it isn't a class). | ScreenNavigatorItem | ||
| events | property |
public var events: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 | property |
public var properties:ObjectA hash of properties to set on the screen.
| screen | property |
public var screen:ObjectA Starling DisplayObject, a Class that may be instantiated to create a DisplayObject, or a Function that returns a DisplayObject.
| ScreenNavigatorItem | () | Constructor |
public function ScreenNavigatorItem(screen:Object = null, events:Object = null, properties:Object = null)Constructor.
Parametersscreen:Object (default = null) | |
events:Object (default = null) | |
properties:Object (default = null) |
| getScreen | () | method |
public function getScreen():DisplayObjectCreates and instance of the screen type (or uses the screen directly if it isn't a class).
ReturnsDisplayObject |