Packageorg.springextensions.actionscript.stage
Classpublic class GenericStageProcessor
InheritanceGenericStageProcessor Inheritance org.as3commons.stageprocessing.impl.AbstractStageObjectProcessor

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


Public Properties
 PropertyDefined By
  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:DisplayObject):DisplayObject
[override] Either assigns the specified object to the specified property (targetProperty) or calls the specified method (targetMethod) and passes the object to it.
GenericStageProcessor
Property Detail
targetMethodproperty
targetMethod:String

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

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

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
override public function process(object:DisplayObject):DisplayObject

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

Parameters

object:DisplayObject

Returns
DisplayObject

Throws
Error — If neither targetProperty nor targetMethod has been set.