| Package | org.springextensions.actionscript.stage |
| SVN browsing | GenericStageProcessor.as |
| Fisheye | GenericStageProcessor.as |
| Class | public class GenericStageProcessor |
| Inheritance | GenericStageProcessor AbstractStageProcessor |
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
Documentation reference: injecting stage components into other objects
| Property | Defined by | ||
|---|---|---|---|
![]() | document : Object
The MXML document associated with the current
IStageProcessor. | AbstractStageProcessor | |
![]() | objectSelector : 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 | ||
| Method | Defined 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 | ||
| targetMethod | property |
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
| targetObject | property |
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
| targetProperty | property |
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
| GenericStageProcessor | () | constructor |
public function GenericStageProcessor()
Creates a new GenericStageProcessor instance.
| 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.
object:Object |
Object |
— If neither targetProperty nor targetMethod has been set.
|