Packagespark.components.supportClasses
Classpublic class ViewReturnObject
InheritanceViewReturnObject Inheritance 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
 PropertyDefined By
  AIR-only context : Object = null
The context identifier passed to the popped view when it was pushed onto the navigation stack.
ViewReturnObject
  AIR-only object : Object = null
The return object generated by the view that is being removed.
ViewReturnObject
Public Methods
 MethodDefined By
  
AIR-only ViewReturnObject(object:Object = null, context:Object = null)
Constructor.
ViewReturnObject
Property Detail
AIR-only contextproperty
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

AIR-only objectproperty 
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
AIR-only 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.