Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
ViewReturnObject

Package | spark.components.supportClasses
Class | public class ViewReturnObject
Inheritance | ViewReturnObject Object

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The ViewReturnObject class encapsulates the return value of a view when it is popped off a navigation stack. The ViewReturnObject object contains a reference to the returned object, and the context in which the popped view was created. The context is an arbitrary object that is passed to the `ViewNavigator.pushView()` method.

See also

spark.components.View
spark.components.ViewNavigator.pushView()

Public Properties

| Property | Defined By
--- | --- | ---
|  | context : Object = null The context identifier passed to the popped view when it was pushed onto the navigation stack. | ViewReturnObject
|  | object : Object = null The return object generated by the view that is being removed. | ViewReturnObject

Public Methods

| Method | Defined By
--- | --- | ---
|  | ViewReturnObject(object:Object = null, context:Object = null) Constructor. | ViewReturnObject

Property Detail

context | property

`public var context:Object = null`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The context identifier passed to the popped view when it was pushed onto the navigation stack.

See also

spark.components.ViewNavigator.pushView()

object | property |

`public var object:Object = null`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

The return object generated by the view that is being removed.

Constructor Detail

ViewReturnObject | () | Constructor

`public function ViewReturnObject(object:Object = null, context:Object = null)`

Language Version : | ActionScript 3.0

Product Version : | Flex 4.5

Runtime Versions : | AIR 2.5

Constructor.

Parameters

| `object:Object` (default = `null`)`` — The returned object.
| `context:Object` (default = `null`)`` — The context in which the owner was created.

Wed Nov 15 2017, 09:50 AM +01:00