| Package | potomac.inject |
| Class | public class InjectionEvent |
| Inheritance | InjectionEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| className : String [read-only]
The class name (or interface name) of the injection binding. | InjectionEvent | ||
| extension : Extension [read-only]
The extension instance used to create this instance (only populated when Injector#getInstanceOfExtension is called). | InjectionEvent | ||
| instance : Object [read-only]
The instance just created and/or injected into. | InjectionEvent | ||
| named : String [read-only]
The named attribute of the extension binding. | InjectionEvent | ||
| Method | Defined By | ||
|---|---|---|---|
InjectionEvent(type:String, className:String, named:String, extension:Extension, instance:Object)
Callers should not create InjectionEvents. | InjectionEvent | ||
clone():Event [override] | InjectionEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| INJECTINTO_COMPLETE : String = injectIntoComplete [static]
The InjectionEvent.INJECTINTO_COMPLETE constant defines the value of the
type property of the event object
for a injectIntoComplete event. | InjectionEvent | ||
| INSTANCE_READY : String = instanceReady [static]
The InjectionEvent.INSTANCE_READY constant defines the value of the
type property of the event object
for a instanceReady event. | InjectionEvent | ||
| POST_INJECTION : String = postInjection [static]
The InjectionEvent.POST_INJECTION constant defines the value of the
type property of the event object
for a postInjection event. | InjectionEvent | ||
| className | property |
className:String [read-only] The class name (or interface name) of the injection binding.
public function get className():String| extension | property |
extension:Extension [read-only] The extension instance used to create this instance (only populated when Injector#getInstanceOfExtension is called).
public function get extension():Extension| instance | property |
instance:Object [read-only] The instance just created and/or injected into.
public function get instance():Object| named | property |
named:String [read-only] The named attribute of the extension binding.
public function get named():String| InjectionEvent | () | Constructor |
public function InjectionEvent(type:String, className:String, named:String, extension:Extension, instance:Object)Callers should not create InjectionEvents.
Parameterstype:String | |
className:String | |
named:String | |
extension:Extension | |
instance:Object |
| clone | () | method |
override public function clone():EventReturnsEvent |
| INJECTINTO_COMPLETE | Constant |
public static const INJECTINTO_COMPLETE:String = injectIntoComplete
The InjectionEvent.INJECTINTO_COMPLETE constant defines the value of the
type property of the event object
for a injectIntoComplete event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
instance | The object whose injections were satisfied. |
| INSTANCE_READY | Constant |
public static const INSTANCE_READY:String = instanceReady
The InjectionEvent.INSTANCE_READY constant defines the value of the
type property of the event object
for a instanceReady event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
className | The className attribute of the injection binding. |
named | The name attribute of the injection binding. |
extension | The Extension instance from which this instance (only populated when Injector#getInstanceOfExtension is called). |
instance | The object instance that was just created. |
| POST_INJECTION | Constant |
public static const POST_INJECTION:String = postInjection
The InjectionEvent.POST_INJECTION constant defines the value of the
type property of the event object
for a postInjection event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget. |
className | null |
named | null |
extension | null |
instance | The object instance that was just injected into. |