Packageorg.springextensions.actionscript.stage
SVN browsingGenericStageProcessor.as
FisheyeGenericStageProcessor.as
Classpublic class GenericStageProcessor
InheritanceGenericStageProcessor Inheritance AbstractStageProcessor

This IStageProcessor uses certain stage components to be assigned to a specified target object. The assignment is done either by setting a property or calling a method, specified by the targetProperty and targetMethod properties respectively.

See also

IStageProcessor


Documentation reference: injecting stage components into other objects


Public Properties
 PropertyDefined by
 Inheriteddocument : Object
The MXML document associated with the current IStageProcessor.
AbstractStageProcessor
 InheritedobjectSelector : IObjectSelector
The specified IObjectSelector instance.
AbstractStageProcessor
  targetMethod : String
The name of the method on the target object to which the selected stage component(s) will be passed.
GenericStageProcessor
  targetObject : Object
The name of the object as declared in the application context to which the selected stage component(s) will be assigned.
GenericStageProcessor
  targetProperty : String
The name of the property on the target object to which the selected stage component(s) will be assigned.
GenericStageProcessor
Public Methods
 MethodDefined by
  
Creates a new GenericStageProcessor instance.
GenericStageProcessor
  
process(object:Object):Object
Either assigns the specified object to the specified property (targetProperty) or calls the specified method (targetMethod) and passes the object to it.
GenericStageProcessor
Protected Methods
 MethodDefined by
 Inherited
AbstractStageProcessor
Property detail
targetMethodproperty
targetMethod:String  [read-write]

The name of the method on the target object to which the selected stage component(s) will be passed.

Implementation
    public function get targetMethod():String
    public function set targetMethod(value:String):void
targetObjectproperty 
targetObject:Object  [read-write]

The name of the object as declared in the application context to which the selected stage component(s) will be assigned.

Implementation
    public function get targetObject():Object
    public function set targetObject(value:Object):void
targetPropertyproperty 
targetProperty:String  [read-write]

The name of the property on the target object to which the selected stage component(s) will be assigned.

Implementation
    public function get targetProperty():String
    public function set targetProperty(value:String):void
Constructor detail
GenericStageProcessor()constructor
public function GenericStageProcessor()

Creates a new GenericStageProcessor instance.

Method detail
process()method
public override function process(object:Object):Object

Either assigns the specified object to the specified property (targetProperty) or calls the specified method (targetMethod) and passes the object to it.

Parameters
object:Object

Returns
Object

Throws
— If neither targetProperty nor targetMethod has been set.