Package | org.spicefactory.parsley.flex.tag.view |
Class | public class FastInjectTag |
Inheritance | FastInjectTag ConfigurationTagBase flash.events.EventDispatcher |
Default MXML Propertyinjections
Property | Defined By | ||
---|---|---|---|
autoremove : Boolean [write-only]
Indicates whether the injected object should be removed from the Context
when the view is removed from the stage and the injected object is a DynamicObject. | FastInjectTag | ||
injections : Array
List of injections to perform. | FastInjectTag | ||
objectId : String
The id of the object to inject. | FastInjectTag | ||
property : String
The property to inject into. | FastInjectTag | ||
reuse : Boolean [write-only]
Indicates whether the target instance will be reused in subsequent
lifecycles of the view. | FastInjectTag | ||
target : Object
The target object to inject into. | FastInjectTag | ||
type : Class
The type of the object to inject. | FastInjectTag |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched for the first time after injections have been performed and the creationComplete event of the document this tag is placed upon has been fired. | FastInjectTag | |||
Dispatched after injections have been performed and the creationComplete event of the document this tag is placed upon has been fired. | FastInjectTag | |||
Dispatched immediately after injections have been performed. | FastInjectTag | |||
Dispatched when the component is removed from the stage, but ignores interim events caused by reparenting. | FastInjectTag |
autoremove | property |
autoremove:Boolean
[write-only]
Indicates whether the injected object should be removed from the Context
when the view is removed from the stage and the injected object is a DynamicObject.
Only has an effect when no custom ViewLifecycle
has been set.
public function set autoremove(value:Boolean):void
injections | property |
public var injections:Array
List of injections to perform.
objectId | property |
public var objectId:String
The id of the object to inject.
property | property |
public var property:String
The property to inject into.
reuse | property |
reuse:Boolean
[write-only] Indicates whether the target instance will be reused in subsequent lifecycles of the view. When set to false the injection will only be processed once. This value should be true if the application keeps instances of the view in memory and adds them back to the stage later. It should be false if the view will get garbage collected once it has been removed from the stage.
public function set reuse(value:Boolean):void
target | property |
public var target:Object
The target object to inject into.
type | property |
public var type:Class
The type of the object to inject.
addedToStage | Event |
flash.events.Event
Dispatched for the first time after injections have been performed and the creationComplete event of the document this tag is placed upon has been fired. Subsequent dispatching will ignore stage events caused by reparenting.
creationComplete | Event |
flash.events.Event
Dispatched after injections have been performed and the creationComplete event of the document this tag is placed upon has been fired.
injectionComplete | Event |
flash.events.Event
Dispatched immediately after injections have been performed.
removedFromStage | Event |
flash.events.Event
Dispatched when the component is removed from the stage, but ignores interim events caused by reparenting.