| Package | com.bourre.ioc.assembler.constructor |
| Class | public class ConstructorEvent |
| Inheritance | ConstructorEvent BasicEvent flash.events.Event |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
See also
| Method | Defined by | ||
|---|---|---|---|
|
ConstructorEvent(type:String, id:String, constructor:Constructor = null)
Creates a new
ConstructorEvent object. | ConstructorEvent | ||
![]() |
clone():Event
Clone the event
| BasicEvent | |
|
Returns the constructor object carried by this event.
| ConstructorEvent | ||
|
getExpertID():String
Returns constructor ID.
| ConstructorEvent | ||
![]() |
getTarget():Object
Returns the current source of this event object.
| BasicEvent | |
![]() |
getType():String
Returns the type of this event, which generally correspond
to the name of the called function on the listener.
| BasicEvent | |
![]() |
setTarget(oTarget:Object):void
Defines the new source object of this event.
| BasicEvent | |
![]() |
setType(en:String):void
Defines the new event type for this event object.
| BasicEvent | |
![]() |
toString():String
Returns the string representation of this instance.
| BasicEvent | |
| Constant | Defined by | ||
|---|---|---|---|
| onRegisterConstructorEVENT : String = "onRegisterConstructor" [static]
Defines the value of the
type property of the event
object for a onRegisterConstructor event. | ConstructorEvent | ||
| onUnregisterConstructorEVENT : String = "onUnregisterConstructor" [static]
Defines the value of the
type property of the event
object for a onUnregisterConstructor event. | ConstructorEvent | ||
| ConstructorEvent | () | constructor |
public function ConstructorEvent(type:String, id:String, constructor:Constructor = null)
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Creates a new ConstructorEvent object.
type:String — Name of the event type
|
|
id:String — Registration ID
|
|
constructor:Constructor (default = null) — Constructor object carried by this event
|
| getConstructor | () | method |
public function getConstructor():Constructor
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the constructor object carried by this event.
ReturnsConstructor —
The constructor value carried by this event.
|
| getExpertID | () | method |
public function getExpertID():String
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns constructor ID.
ReturnsString |
| onRegisterConstructorEVENT | constant |
public static const onRegisterConstructorEVENT:String = "onRegisterConstructor"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onRegisterConstructor event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getExpertID()
| The constructor ID |
getConstructor()
| The constructor object |
| onUnregisterConstructorEVENT | constant |
public static const onUnregisterConstructorEVENT:String = "onUnregisterConstructor"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onUnregisterConstructor event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getExpertID()
| The constructor ID |
getConstructor()
| The constructor object |