| Package | org.springextensions.actionscript.stage |
| Class | public class GenericStageProcessor |
| Inheritance | GenericStageProcessor org.as3commons.stageprocessing.impl.AbstractStageObjectProcessor |
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
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| targetMethod | property |
targetMethod:StringThe name of the method on the target object to which the selected stage component(s) will be passed.
public function get targetMethod():String public function set targetMethod(value:String):void| targetObject | property |
targetObject:ObjectThe name of the object as declared in the application context to which the selected stage component(s) will be assigned.
public function get targetObject():Object public function set targetObject(value:Object):void| targetProperty | property |
targetProperty:StringThe name of the property on the target object to which the selected stage component(s) will be assigned.
public function get targetProperty():String public function set targetProperty(value:String):void| GenericStageProcessor | () | Constructor |
public function GenericStageProcessor()
Creates a new GenericStageProcessor instance.
| 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 |
DisplayObject |
Error — If neither targetProperty nor targetMethod has been set.
|